Our project is stuck with old versions of some Sling bundles for the time being, not having the nerve to update them just weeks before our release.
We just discovered that domain mappings are not being picked up, that is, a restart is required before any changes under /etc/map are being recognized by JcrResourceResolver. To reproduce: 1. Go to http://localhost:8080/system/console/jcrresolver, and take note of the mapping entries 2. Post a new node to /etc/map/http/domain.com, with a property sling:internalRedirect=/node 3. Refresh http://localhost:8080/system/console/jcrresolver Expected result: - The list of map entries includes an entry for domain.com => /node Actual result: - The list of map entries has not changed After restarting Sling, the new entry appears on the list. Debugging shows that the o.a.s.j.r.internal.helper.MapEntries IS registered as an eventlistener, but its onEvent method is never called. This issue is however NOT visible in the latest trunk build. I have searched both the Sling and Jackrabbit JIRAs, but I cannot find a matching bug report. Does this ring a bell with anyone? Has anyone fixed a bug fitting this description? Any suggestions on what might be wrong is also most welcome. -- Vidar S. Ramdal <[email protected]> - http://www.idium.no Sommerrogata 13-15, N-0255 Oslo, Norway + 47 22 00 84 00 / +47 21 531941, ext 2070
