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/12/04 11:29: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=16987754#comment-16987754 ]
Ashish Chopra commented on SLING-8868:
--------------------------------------
[~marett], I've updated the PR [0] to address sonarqube and coverage concerns reported in the previous iteration.
Please review and provide feedback at [0] and merge in case you feel this is fine. Thanks!
[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}} 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)