Krystian Nowak created SLING-6457:

             Summary: MergedResource's toString does not display properly 
merged resources' paths
                 Key: SLING-6457
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: Resource Merger 1.3.0
            Reporter: Krystian Nowak
            Priority: Minor

Paths of merged resources are kept in a String array which is accessed by 
_toString_ via _ResourceMetadata metadata_ field which is in fact a String to 
Object map.
Therefore _toString_ method prints 
_this.metadata.get(MergedResourceConstants.METADATA_RESOURCES)_ directly which 
results in an output similar to this:
MergedResource [path=/merged, resources=[Ljava.lang.String;@51920d25]
instead of e.g.:
MergedResource [path=/merged, resources=[/a, /b, /c]]

This message was sent by Atlassian JIRA

Reply via email to