Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4051

Warning about unset VLT package version when using Sling replication

    XMLWordPrintableJSON

Details

    Description

      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 ''

      Attachments

        Activity

          People

            teofili Tommaso Teofili
            lbyrum Laurie byrum
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: