no, the basics of resource resolution have not change recently - a resource 
with multiple dots in it's resource name (like /content/sling.logo.png) should 
always be resolvable by this name. and it works as expected when i reproduce 
the steps you describe (copy to /content/sling.logo.png).

i tested it with the current sling launchpad from trunk.

stefan


>-----Original Message-----
>From: Bart Wulteputte [mailto:[email protected]]
>Sent: Monday, January 16, 2017 1:44 PM
>To: [email protected]
>Subject: Bad asset resource resolving
>
>Hi all,
>
>It seems that the way assets are resolved has changed a little. When an
>asset contains an additional . (dot) it can't be resolved anymore to the
>actual asset resource. e.g. /content/my.asset.pdf resolves to
>/content/my.pdf rather than the expected path.
>
>As a simple test you can copy the sling-logo.png to
>/content/sling.logo.png. When now using the Sling Resolver Test - we see
>that resolving /content/sling.logo.png results in a non-existing resource
>with path /content/sling.png instead of the expected asset url. The section
>after the first dot is now interpreted as a selector which didn't used to
>be the case for assets in the past.
>
>Was this intentionally changed or is this an actual bug?
>
>Best regards
>
>Bart

Reply via email to