You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2014/11/07 16:58:43 UTC

[jira] [Updated] (SLING-4051) Warning about unset VLT package version when using Sling replication

     [ https://issues.apache.org/jira/browse/SLING-4051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tommaso Teofili updated SLING-4051:
-----------------------------------
    Fix Version/s: Content Distribution 0.1.0

> Warning about unset VLT package version when using Sling replication
> --------------------------------------------------------------------
>
>                 Key: SLING-4051
>                 URL: https://issues.apache.org/jira/browse/SLING-4051
>             Project: Sling
>          Issue Type: Bug
>          Components: Distribution
>            Reporter: Laurie byrum
>            Assignee: Tommaso Teofili
>             Fix For: Content Distribution 0.1.0
>
>
> I use the following code to replicate:
>     @Reference(target = "(name=blah-reverse)", policy = ReferencePolicy.DYNAMIC,
>             cardinality = ReferenceCardinality.OPTIONAL_UNARY)
>     ReplicationAgent replicationAgent;
>     private void reverseReplicate(String path) throws AgentReplicationException {
>         if (replicationAgent != null) {
>             ReplicationRequest replicationRequest = new ReplicationRequest(0, ReplicationActionType.ADD, path);
>             replicationAgent.execute(replicationRequest);
>         }
>     }
> I get the following warning in my log when that happens: 
> 14.10.2014 14:13:54.544 *WARN* [0:0:0:0:0:0:0:1 [1413321186378] POST blah HTTP/1.1] org.apache.jackrabbit.vault.packaging.impl.PackagePropertiesImpl Package does not specify a version. setting to ''



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)