You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (Jira)" <ji...@apache.org> on 2021/12/16 13:41:00 UTC

[jira] [Updated] (SLING-10706) Order of selectors not kept

     [ https://issues.apache.org/jira/browse/SLING-10706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Pauls updated SLING-10706:
-------------------------------
    Fix Version/s: Scripting Bundle Maven Plugin 0.5.4
                       (was: Scripting Bundle Maven Plugin 0.5.2)

> Order of selectors not kept
> ---------------------------
>
>                 Key: SLING-10706
>                 URL: https://issues.apache.org/jira/browse/SLING-10706
>             Project: Sling
>          Issue Type: Bug
>          Components: Maven Plugins and Archetypes
>    Affects Versions: Scripting Bundle Maven Plugin 0.3.0
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: Scripting Bundle Maven Plugin 0.5.4
>
>
> The selectors used for registration of script/servlets have an order: Only if they appear in the given order the script/servlet matches (https://sling.apache.org/documentation/the-sling-engine/servlets.html#servlet-registration).
> The order is potentially lost, though during the generation of the capabilities headers as the code is using Sets internally.
> Also it is totally valid to register a script to "myselector.myselector" which cannot be expressed with Sets either.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)