You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2014/05/16 12:20:02 UTC

[jira] [Resolved] (SLING-3566) Properties from extended file aggregates are not synchronized

     [ https://issues.apache.org/jira/browse/SLING-3566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Munteanu resolved SLING-3566.
------------------------------------

    Resolution: Fixed

As it turns out, this worked but I wrote the tests incorrectly. Nevertheless, we have one more automated test for the sync process.

* http://svn.apache.org/viewvc?view=revision&revision=1594912 - added tracing to the impl-vlt plugin
* http://svn.apache.org/viewvc?view=revision&revision=1594913 - added a PropertyMatcher
- http://svn.apache.org/viewvc?view=revision&revision=1594914 - added test to validate the scenario of this bug

> Properties from extended file aggregates are not synchronized
> -------------------------------------------------------------
>
>                 Key: SLING-3566
>                 URL: https://issues.apache.org/jira/browse/SLING-3566
>             Project: Sling
>          Issue Type: Bug
>          Components: IDE
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>             Fix For: Sling Eclipse IDE 1.0.0
>
>
> Assume the following directory structure
> {code}
> .
> ├── ace.html.esp
> ├── ace.html.esp.dir
> │   ├── .content.xml
> {code}
> where .content.xml contains
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
>     jcr:primaryType="nt:file">
>     <jcr:content
>         jcr:lastModifiedBy="admin"
>         jcr:mimeType="text/javascript"
>         jcr:primaryType="nt:resource"/>
> </jcr:root>
> {code}
> Changes to the jcr:mimeType are not registered, since we don't descend down the jcr:content node when updating file-like nodes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)