Skip to content

Commit

Permalink
Resource Resolver Factory: Switch back to resource.resolver.optimize.…
Browse files Browse the repository at this point in the history
…alias.resolution=true to avoid warning.
  • Loading branch information
stefanseifert committed Dec 7, 2023
1 parent eb1eb2a commit 97285e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<action type="update" dev="sseifert">
Update to latest Sling Mock.
</action>
<action type="update" dev="sseifert">
Resource Resolver Factory: Switch back to resource.resolver.optimize.alias.resolution=true to avoid warning.
</action>
</release>

<release version="5.4.2" date="2023-11-20">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.Map;
import java.util.Set;

import io.wcm.testing.mock.aem.xf.MockExperienceFragmentAdapterFactory;
import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ResourceResolverFactory;
Expand Down Expand Up @@ -57,6 +56,7 @@
import io.wcm.testing.mock.aem.dam.MockAssetStore;
import io.wcm.testing.mock.aem.dam.MockPublishUtils;
import io.wcm.testing.mock.aem.granite.MockResourceCollectionManager;
import io.wcm.testing.mock.aem.xf.MockExperienceFragmentAdapterFactory;

/**
* Defines AEM context objects with lazy initialization.
Expand Down Expand Up @@ -141,7 +141,6 @@ protected final Map<String, Object> resourceResolverFactoryActivatorPropsMergeWi
props.put("resource.resolver.enable.vanitypath", false);
props.put("resource.resolver.vanitypath.maxEntries", -1);
props.put("resource.resolver.vanitypath.bloomfilter.maxBytes", 1024000);
props.put("resource.resolver.optimize.alias.resolution", false);
props.put(ResourceResolverFactoryConfigPropertyNames.getVanityPathAllowListPropertyName(), new String[] {
"/apps/",
"/libs/",
Expand Down

0 comments on commit 97285e6

Please sign in to comment.