You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2013/11/16 01:31:21 UTC

[jira] [Created] (SLING-3245) TenantAdapterFactory can return incorrect 'null' tenants depending on order of pathMatchers

Vikas Saurabh created SLING-3245:
------------------------------------

             Summary: TenantAdapterFactory can return incorrect 'null' tenants depending on order of pathMatchers
                 Key: SLING-3245
                 URL: https://issues.apache.org/jira/browse/SLING-3245
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: Tenant 1.0.0
            Reporter: Vikas Saurabh
            Priority: Minor


For a case where users under /home/users/abc/tenant_name/ with an existing tenant tenant_name (assuming pathMatchers have a correct regex to be matched) should be identified with correct tenant without relying on order of entries in pathMatchers.
* Of course, the assumption is that pathMatchers can match a tenant name uniquely
* e.g. pathMathers={"/home/users/([^/]+)/*", "/home/users/abc/([^/]+)/*} should work



--
This message was sent by Atlassian JIRA
(v6.1#6144)