You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Timothee Maret (JIRA)" <ji...@apache.org> on 2017/06/27 15:37:00 UTC

[jira] [Created] (JCRVLT-185) JcrPackageManagerImpl#extract always stores a package in the repository

Timothee Maret created JCRVLT-185:
-------------------------------------

             Summary: JcrPackageManagerImpl#extract always stores a package in the repository
                 Key: JCRVLT-185
                 URL: https://issues.apache.org/jira/browse/JCRVLT-185
             Project: Jackrabbit FileVault
          Issue Type: Bug
          Components: vlt
    Affects Versions: 3.1.40
            Reporter: Timothee Maret
             Fix For: 3.1.42


According to the API for the {{JcrPackageManagerImpl#extract}} method, it seems there should be a way to avoid storing the package when extracting a package.
Currently, a package without content is always stored.

The API mentions the {{registerPackage}} flag to avoid storing package, but it seems the implementation is missing.

Not storing a package at all is desirable for Sling Content Distribution.

cc [~tripod]



[0] https://github.com/apache/jackrabbit-filevault/blob/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/JcrPackageManager.java#L226-L252 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)