[
https://issues.apache.org/jira/browse/SLING-4051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tommaso Teofili resolved SLING-4051.
------------------------------------
Resolution: Fixed
explicitly creating the version as of r1634907
> 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: Replication
> Reporter: Laurie byrum
> Assignee: Tommaso Teofili
>
> 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)