You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ashish Chopra (Jira)" <ji...@apache.org> on 2019/11/29 22:17:00 UTC

[jira] [Commented] (SLING-8868) DistributionPackage built using DistributionPackageBuilder.getPackage doesn't contain correct DIstributionPackageInfo

    [ https://issues.apache.org/jira/browse/SLING-8868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985202#comment-16985202 ] 

Ashish Chopra commented on SLING-8868:
--------------------------------------

PR at [0]

[0] https://github.com/apache/sling-org-apache-sling-distribution-core/pull/27

> 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
>            Priority: Major
>             Fix For: Content Distribution Core 0.4.2
>
>          Time Spent: 10m
>  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}} (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)