WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

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

View: New views
5 Messages — Rating Filter:   Alert me  

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

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message

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] Updated: (GRFT-129) ResidualProperties Converter may fail

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message


     [ 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.


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

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message


     [ 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] Resolved: (GRFT-129) ResidualProperties Converter may fail

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message


     [ 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] Closed: (GRFT-129) ResidualProperties Converter may fail

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message


     [ 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.