comparator in mappings TreeSet (Uri2RepositoryManager) makes entries with same 
UriPrefix length to override each other
----------------------------------------------------------------------------------------------------------------------

                 Key: MAGNOLIA-1992
                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1992
             Project: Magnolia
          Issue Type: Bug
          Components: core
    Affects Versions: 3.5.2
            Reporter: Manuel Molaschi
         Assigned To: Philipp Bracher
         Attachments: info.magnolia.cms.beans.config.URI2RepositoryManager.patch

The comparator for the mappings TreeSet (Uri2RepositoryManager) makes entries 
with same UriPrefix length to override each other, because it is based just on 
length evaluation.
I attach a patch that makes a string compare. I think that it can be enought...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to