Laurie byrum created SLING-4051: ----------------------------------- Summary: Warning about unset version when using replication.next Key: SLING-4051 URL: https://issues.apache.org/jira/browse/SLING-4051 Project: Sling Issue Type: Bug Components: Replication Reporter: Laurie byrum
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)