Skip to content

Commit

Permalink
#12716 solving issue with integration tests (#12946)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oswaldo Gallango authored and jgambarios committed Oct 27, 2017
1 parent b99e635 commit d195fed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ private static void refreshPageInCache(String id) throws DotDataException, DotSe
private static void refreshPageInCache(String id, Long languageId) throws DotDataException, DotSecurityException {
Identifier ident = APILocator.getIdentifierAPI().find(id);
Contentlet content = APILocator.getContentletAPI()
.findContentletByIdentifier(ident.getId(), true, languageId, APILocator.systemUser(), false);
.findContentletByIdentifier(ident.getId(), false, languageId, APILocator.systemUser(), false);
IHTMLPage htmlPage = APILocator.getHTMLPageAssetAPI().fromContentlet(content);
PageServices.invalidateAll(htmlPage);
}
Expand Down

0 comments on commit d195fed

Please sign in to comment.