You are viewing a plain text version of this content. The canonical link for it is here.
Posted to graffito-dev@incubator.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/03/27 14:30:32 UTC

[jira] Created: (GRFT-129) ResidualProperties Converter may fail

ResidualProperties Converter may fail
-------------------------------------

                 Key: GRFT-129
                 URL: https://issues.apache.org/jira/browse/GRFT-129
             Project: Graffito
          Issue Type: Bug
          Components: JCR-Mapping
            Reporter: Felix Meschberger


When storing data, the ResidualPropertiesCollectionConverterImpl class first removes all properties matching the name pattern and then sets these properties. In the case of protected properties like jcr:primaryType this mechanism fails and prevents the properties from being saved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GRFT-129) ResidualProperties Converter may fail

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GRFT-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed GRFT-129.
----------------------------------


Looks good. Thanks for applying.

> ResidualProperties Converter may fail
> -------------------------------------
>
>                 Key: GRFT-129
>                 URL: https://issues.apache.org/jira/browse/GRFT-129
>             Project: Graffito
>          Issue Type: Bug
>          Components: JCR-Mapping
>            Reporter: Felix Meschberger
>         Assigned To: Christophe Lombart
>         Attachments: GRFT-129.diff
>
>
> When storing data, the ResidualPropertiesCollectionConverterImpl class first removes all properties matching the name pattern and then sets these properties. In the case of protected properties like jcr:primaryType this mechanism fails and prevents the properties from being saved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GRFT-129) ResidualProperties Converter may fail

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GRFT-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christophe Lombart resolved GRFT-129.
-------------------------------------

    Resolution: Fixed

Patch applied. 
Felix, can you check if it is ok ?

> ResidualProperties Converter may fail
> -------------------------------------
>
>                 Key: GRFT-129
>                 URL: https://issues.apache.org/jira/browse/GRFT-129
>             Project: Graffito
>          Issue Type: Bug
>          Components: JCR-Mapping
>            Reporter: Felix Meschberger
>         Assigned To: Christophe Lombart
>         Attachments: GRFT-129.diff
>
>
> When storing data, the ResidualPropertiesCollectionConverterImpl class first removes all properties matching the name pattern and then sets these properties. In the case of protected properties like jcr:primaryType this mechanism fails and prevents the properties from being saved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GRFT-129) ResidualProperties Converter may fail

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GRFT-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christophe Lombart reassigned GRFT-129:
---------------------------------------

    Assignee: Christophe Lombart

> ResidualProperties Converter may fail
> -------------------------------------
>
>                 Key: GRFT-129
>                 URL: https://issues.apache.org/jira/browse/GRFT-129
>             Project: Graffito
>          Issue Type: Bug
>          Components: JCR-Mapping
>            Reporter: Felix Meschberger
>         Assigned To: Christophe Lombart
>         Attachments: GRFT-129.diff
>
>
> When storing data, the ResidualPropertiesCollectionConverterImpl class first removes all properties matching the name pattern and then sets these properties. In the case of protected properties like jcr:primaryType this mechanism fails and prevents the properties from being saved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GRFT-129) ResidualProperties Converter may fail

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GRFT-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated GRFT-129:
-----------------------------------

    Attachment: GRFT-129.diff

Attached patch ignores protected properties when cleaing the node and setting the properties

> ResidualProperties Converter may fail
> -------------------------------------
>
>                 Key: GRFT-129
>                 URL: https://issues.apache.org/jira/browse/GRFT-129
>             Project: Graffito
>          Issue Type: Bug
>          Components: JCR-Mapping
>            Reporter: Felix Meschberger
>         Attachments: GRFT-129.diff
>
>
> When storing data, the ResidualPropertiesCollectionConverterImpl class first removes all properties matching the name pattern and then sets these properties. In the case of protected properties like jcr:primaryType this mechanism fails and prevents the properties from being saved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.