You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2012/08/22 16:03:41 UTC
[jira] [Created] (OAK-273) ValueFormatException expected when
overwriting single-valued property with multi-value and vice versa
Julian Reschke created OAK-273:
----------------------------------
Summary: ValueFormatException expected when overwriting single-valued property with multi-value and vice versa
Key: OAK-273
URL: https://issues.apache.org/jira/browse/OAK-273
Project: Jackrabbit Oak
Issue Type: Bug
Components: jcr
Reporter: Julian Reschke
Priority: Minor
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OAK-273) ValueFormatException expected when
overwriting single-valued property with multi-value and vice versa
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439616#comment-13439616 ]
Michael Dürig commented on OAK-273:
-----------------------------------
There are similar checks on the {{setValue}} methods of {{PropertyImpl}} already. These could catch this problem in the first place.
> ValueFormatException expected when overwriting single-valued property with multi-value and vice versa
> -----------------------------------------------------------------------------------------------------
>
> Key: OAK-273
> URL: https://issues.apache.org/jira/browse/OAK-273
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: Julian Reschke
> Priority: Minor
> Attachments: OAK-273.diff
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (OAK-273) ValueFormatException expected when
overwriting single-valued property with multi-value and vice versa
Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke resolved OAK-273.
--------------------------------
Resolution: Fixed
> ValueFormatException expected when overwriting single-valued property with multi-value and vice versa
> -----------------------------------------------------------------------------------------------------
>
> Key: OAK-273
> URL: https://issues.apache.org/jira/browse/OAK-273
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: Julian Reschke
> Priority: Minor
> Attachments: OAK-273.diff
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OAK-273) ValueFormatException expected when
overwriting single-valued property with multi-value and vice versa
Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke updated OAK-273:
-------------------------------
Attachment: OAK-273.diff
proposed patch
> ValueFormatException expected when overwriting single-valued property with multi-value and vice versa
> -----------------------------------------------------------------------------------------------------
>
> Key: OAK-273
> URL: https://issues.apache.org/jira/browse/OAK-273
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: Julian Reschke
> Priority: Minor
> Attachments: OAK-273.diff
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OAK-273) ValueFormatException expected when
overwriting single-valued property with multi-value and vice versa
Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439648#comment-13439648 ]
Julian Reschke commented on OAK-273:
------------------------------------
Indeed. However, I don't see an easy way to consolidate both code flows (NodeImpl->NodeDelegate while PropertyImpl->Tree), so for now I'll commit the change as is.
> ValueFormatException expected when overwriting single-valued property with multi-value and vice versa
> -----------------------------------------------------------------------------------------------------
>
> Key: OAK-273
> URL: https://issues.apache.org/jira/browse/OAK-273
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: Julian Reschke
> Priority: Minor
> Attachments: OAK-273.diff
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira