You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Roxana-Elena Balasoiu (Jira)" <ji...@apache.org> on 2023/04/28 09:33:00 UTC

[jira] (JCRVLT-705) Unprotected properties with name jcr:created and jcr:createdBy are no longer contained in the export

    [ https://issues.apache.org/jira/browse/JCRVLT-705 ]


    Roxana-Elena Balasoiu deleted comment on JCRVLT-705:
    ----------------------------------------------

was (Author: JIRAUSER284589):
The Replication Api is used and it is triggered through the Distribution UI.

This is how the jcr repository looks like on author:
{code:java}
{
  "cq:lastReplicatedBy": "workflow-process-service",
  "cq:lastReplicationAction": "Activate",
  "cq:lastReplicatedBy_publish": "workflow-process-service",
  "sling:resourceType": "dam/collection",
  "jcr:title": "Dummy_Public_Collection",
  "jcr:uuid": "52bb4882-658a-430a-9451-48b53281ac5e",
  "type": "Collection",
  "sling:resourceSuperType": "sling/collection",
  "jcr:created": "Wed Apr 12 2023 14:05:02 GMT+0000",
  "jcr:lastModifiedBy": "ankita.gupta@underarmour.com",
  "jcr:createdBy": "ankita.gupta@underarmour.com",
  "dam:season": "FW23",
  "cq:lastReplicationAction_scene7": "Activate",
  "jcr:mixinTypes": [
    "mix:referenceable",
    "cq:ReplicationStatus"
  ],
  "jcr:description": "",
  "jcr:lastModified": "Wed Apr 12 2023 14:08:01 GMT+0000",
  "cq:lastReplicationAction_publish": "Activate",
  "jcr:primaryType": "nt:unstructured",
  "cq:lastReplicated": "Wed Apr 12 2023 14:08:02 GMT+0000",
  "cq:lastReplicatedBy_scene7": "workflow-process-service",
  "dam:category": "field-hockey",
  "cq:lastReplicated_publish": "Wed Apr 12 2023 14:08:02 GMT+0000",
  "cq:lastReplicated_scene7": "Wed Apr 12 2023 14:08:02 GMT+0000",
  "sling:members": {
    "jcr:primaryType": "nt:unstructured",
    "sling:resources": [
      "/content/dam/product/photography/817/81710/8171005/V5-8171005-001_DEFAULT_LR.tif"
    ]
  },
  "folderThumbnail": {
    "jcr:created": "Wed Apr 12 2023 14:08:48 GMT+0000",
    "jcr:createdBy": "ankita.gupta@underarmour.com",
    "jcr:primaryType": "nt:file"
  }
} {code}
And this is how the node looks like on publish, after replicating the path:
{code:java}
{
  "jcr:primaryType": "nt:unstructured",
  "jcr:mixinTypes": [
    "mix:referenceable",
    "cq:ReplicationStatus"
  ],
  "jcr:title": "Dummy_Public_Collection",
  "dam:season": "FW23",
  "jcr:lastModifiedBy": "ankita.gupta@underarmour.com",
  "type": "Collection",
  "dam:category": "field-hockey",
  "sling:resourceSuperType": "sling/collection",
  "jcr:description": "",
  "jcr:lastModified": "Wed Apr 12 2023 14:08:01 GMT+0000",
  "jcr:uuid": "52bb4882-658a-430a-9451-48b53281ac5e",
  "sling:resourceType": "dam/collection",
  "sling:members": {
    "jcr:primaryType": "nt:unstructured",
    "sling:resources": [
      "/content/dam/product/photography/817/81710/8171005/V5-8171005-001_DEFAULT_LR.tif"
    ]
  },
  "folderThumbnail": {
    "jcr:primaryType": "nt:file",
    "jcr:createdBy": "sling-distribution-importer",
    "jcr:created": "Thu Apr 20 2023 08:47:56 GMT+0000"
  }
} {code}
The `jcr:created` and `jcr:createdBy` properties are missing from the jcr repository on the publish tier. 

> Unprotected properties with name jcr:created and jcr:createdBy are no longer contained in the export
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JCRVLT-705
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-705
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>    Affects Versions: 3.6.0
>            Reporter: Roxana-Elena Balasoiu
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 3.6.10
>
>         Attachments: image-2023-04-26-19-44-19-695.png
>
>
> The `jcr:created` and `jcr:createdBy` properties are not replicated on the publish with the latest version of FileVault. They are replicated properly with FileVault 3.4.0.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)