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:35:00 UTC

[jira] [Comment Edited] (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?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17716846#comment-17716846 ] 

Roxana-Elena Balasoiu edited comment on JCRVLT-705 at 4/28/23 9:34 AM:
-----------------------------------------------------------------------

I tested with FileVault 3.4.0 and this is how the content looked like, the 2 properties were included:
{code:java}
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:dam="http://www.day.com/dam/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:rep="internal"
    cq:conf="/conf/ua-skyline"
    jcr:mixinTypes="[rep:AccessControllable]"
    jcr:primaryType="sling:Folder">
    <collections
        jcr:mixinTypes="[rep:AccessControllable]"
        jcr:primaryType="nt:unstructured"
        sling:resourceType="dam/collection"
        updated="{Boolean}true">
        <public
            jcr:mixinTypes="[rep:AccessControllable]"
            jcr:primaryType="nt:unstructured">
            <rep:policy/>
            <D/>
            <U/>
            <ims jcr:primaryType="nt:unstructured">
                <kenz/>
                <labh/>
                <shel/>
                <kris/>
                <anki jcr:primaryType="nt:unstructured">
                    <qSAfoezTFg-1RPULVxms
                        jcr:mixinTypes="[rep:AccessControllable]"
                        jcr:primaryType="nt:unstructured">
                        <rep:policy/>
                        <dummycollection0/>
                        <testdummypubliccollection-ankita/>
                        <dummy_public_collection
                            dam:category="field-hockey"
                            dam:season="FW23"
                            jcr:created="{Date}2023-04-12T14:05:02.369Z"
                            jcr:createdBy="user"
                            jcr:description=""
                            jcr:lastModified="{Date}2023-04-12T14:08:01.631Z"
                            jcr:mixinTypes="[cq:ReplicationStatus,mix:referenceable]"
                            jcr:primaryType="nt:unstructured"
                            jcr:title="Dummy_Public_Collection"
                            jcr:uuid="52bb4882-658a-430a-9451-48b53281ac5e"
                            sling:resourceSuperType="sling/collection"
                            sling:resourceType="dam/collection"
                            type="Collection">
                            <sling:members/>
                            <folderThumbnail/>
                        </dummy_public_collection>
                    </qSAfoezTFg-1RPULVxms>
                </anki>
                <erin/>
                <kart/>
            </ims>
            <y/>
            <K/>
        </public>
        <rep:policy/>
        <D/>
        <ims/>
        <h/>
        <_x0034_/>
        <I/>
        <b/>
        <y/>
        <_x0035_/>
        <_x0036_/>
        <K/>
        <_x0030_/>
    </collections>
</jcr:root>  {code}


was (Author: JIRAUSER284589):
I tested with FileVault 3.4.0 and this is how the content looked like, the 2 properties were included:
{code:java}
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:dam="http://www.day.com/dam/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:rep="internal"
    cq:conf="/conf/ua-skyline"
    jcr:mixinTypes="[rep:AccessControllable]"
    jcr:primaryType="sling:Folder">
    <collections
        jcr:mixinTypes="[rep:AccessControllable]"
        jcr:primaryType="nt:unstructured"
        sling:resourceType="dam/collection"
        updated="{Boolean}true">
        <public
            jcr:mixinTypes="[rep:AccessControllable]"
            jcr:primaryType="nt:unstructured">
            <rep:policy/>
            <D/>
            <U/>
            <ims jcr:primaryType="nt:unstructured">
                <kenz/>
                <labh/>
                <shel/>
                <kris/>
                <anki jcr:primaryType="nt:unstructured">
                    <qSAfoezTFg-1RPULVxms
                        jcr:mixinTypes="[rep:AccessControllable]"
                        jcr:primaryType="nt:unstructured">
                        <rep:policy/>
                        <dummycollection0/>
                        <testdummypubliccollection-ankita/>
                        <dummy_public_collection
                            dam:category="field-hockey"
                            dam:season="FW23"
                            jcr:created="{Date}2023-04-12T14:05:02.369Z"
                            jcr:createdBy="ankita.gupta@underarmour.com"
                            jcr:description=""
                            jcr:lastModified="{Date}2023-04-12T14:08:01.631Z"
                            jcr:lastModifiedBy="ankita.gupta@underarmour.com"
                            jcr:mixinTypes="[cq:ReplicationStatus,mix:referenceable]"
                            jcr:primaryType="nt:unstructured"
                            jcr:title="Dummy_Public_Collection"
                            jcr:uuid="52bb4882-658a-430a-9451-48b53281ac5e"
                            sling:resourceSuperType="sling/collection"
                            sling:resourceType="dam/collection"
                            type="Collection">
                            <sling:members/>
                            <folderThumbnail/>
                        </dummy_public_collection>
                    </qSAfoezTFg-1RPULVxms>
                </anki>
                <erin/>
                <kart/>
            </ims>
            <y/>
            <K/>
        </public>
        <rep:policy/>
        <D/>
        <ims/>
        <h/>
        <_x0034_/>
        <I/>
        <b/>
        <y/>
        <_x0035_/>
        <_x0036_/>
        <K/>
        <_x0030_/>
    </collections>
</jcr:root>  {code}

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