Ashish Chopra created SLING-8868:
------------------------------------

             Summary: DistributionPackage built using 
DistributionPackageBuilder.getPackage doesn't contain correct 
DIstributionPackageInfo
                 Key: SLING-8868
                 URL: https://issues.apache.org/jira/browse/SLING-8868
             Project: Sling
          Issue Type: Bug
          Components: Content Distribution
    Affects Versions: Content Distribution Core 0.4.0
            Reporter: Ashish Chopra
             Fix For: Content Distribution Core 0.4.2


{{DIstributionPackage}} as returned by 
{{DistributionPackageBuilder.createPackage}} contains metadata of the package 
within it, which can be retrieved via {{DIstributionPackage.getInfo()}}. 
{{DistributionPackage.getId}} returns the unique identifier for the created 
package, which can later be retrieved via the ID and 
{{DistributionPackageBuilder.getPackage}} API.

However, when the {{DistributionPackage}} (if created by 
{{ResourceDistributionPackageBuilder}}) is retrieved, the 
{{DistributionPackageInfo}} returned by {{.getInfo}} method doesn't contain 
correct metadata of the package.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to