Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I'd like to use Sling aliases to reference the current content as follows (node is /content/wnews/articles/2020):
{ "jcr:primaryType": "nt:unstructured", "title": "Articles (2020)", "sling:alias": "current", "pageSize": 7, "sling:resourceType": "wnews/page/article-list" }
So for example, the following URLs should both work:
- http://example.com/content/wnews/articles/2020.html
- http://example.com/content/wnews/articles/current.html
I've discovered that the "current" url doesn't resolved unless I disable alias caching in the Resource Resolver Factory:
I'm pretty sure this isn't a good workaround, especially as it causes other issues with redirects of URLs with no extension.
Any other possible reasons why this isn't working?
Other refs: