We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AEM Version: 6.5.7 ACS AEM Commons Version: 4.12.0+ Reproducible on Latest? yes
Proxied ClientLib paths should correctly output paths with a hash. This works correctly in ACS Commons v4.11.2 and below.
As a result of #2528, this behaviour has completely regressed and Versioned ClientLibs no longer generates hashes for proxied ClientLib paths.
Based on my observations, the following is preventing the resolvePath method from succeeding as libraryResource always resolves to /etc.
resolvePath
libraryResource
/etc
acs-aem-commons/bundle/src/main/java/com/adobe/acs/commons/rewriter/impl/VersionedClientlibsTransformerFactory.java
Lines 242 to 248 in 84fcdd4
Lines 282 to 288 in 84fcdd4
/apps/<project>
allowProxy
{Boolean}true
/system/console/status-slingrewriter
#2533
The text was updated successfully, but these errors were encountered:
There is a comment in #2577 (comment) which might be helpful. @pcastelog WDYT? Can you come up with a bugfix?
Sorry, something went wrong.
Agree with @cshawaus . I think the best option here will be to check if the path starts with "/etc.clientlibs". I will provide a fix asap.
#2581
This is fixed by #2581
No branches or pull requests
AEM Version: 6.5.7
ACS AEM Commons Version: 4.12.0+
Reproducible on Latest? yes
Expected Behavior
Proxied ClientLib paths should correctly output paths with a hash. This works correctly in ACS Commons v4.11.2 and below.
Actual Behavior
As a result of #2528, this behaviour has completely regressed and Versioned ClientLibs no longer generates hashes for proxied ClientLib paths.
Based on my observations, the following is preventing the
resolvePath
method from succeeding aslibraryResource
always resolves to/etc
.acs-aem-commons/bundle/src/main/java/com/adobe/acs/commons/rewriter/impl/VersionedClientlibsTransformerFactory.java
Lines 242 to 248 in 84fcdd4
acs-aem-commons/bundle/src/main/java/com/adobe/acs/commons/rewriter/impl/VersionedClientlibsTransformerFactory.java
Lines 282 to 288 in 84fcdd4
Steps to Reproduce
/apps/<project>
with an empty stylesheetallowProxy
to{Boolean}true
/system/console/status-slingrewriter
Links
#2533
The text was updated successfully, but these errors were encountered: