[
https://issues.apache.org/jira/browse/SLING-8868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988843#comment-16988843
]
Timothee Maret commented on SLING-8868:
---------------------------------------
Merged PR
[#27|[https://github.com/apache/sling-org-apache-sling-distribution-core/pull/27]],
thanks [~ashishc]!
> 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
> Assignee: Timothee Maret
> Priority: Major
> Fix For: Content Distribution Core 0.4.2
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{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}} 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)