[
https://issues.apache.org/jira/browse/OAK-713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13608993#comment-13608993
]
Jukka Zitting commented on OAK-713:
-----------------------------------
bq. IMO it is quite clear the repository should (first) look only at the
matching definitions no matter if it is a named or residual definition.
This essentially makes any types that inherit nt:unstructured irrelevant. If
the repository would in any case fall back to the unstructured residual
definitions, there's no point in having an nt:unstructured subtype that
specifies extra constraints on specifically named properties or child nodes.
> Automatic property type conversion
> ----------------------------------
>
> Key: OAK-713
> URL: https://issues.apache.org/jira/browse/OAK-713
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: core, jcr
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Priority: Minor
>
> It would be nice if, instead of throwing a validation error, Oak could
> automatically do basic property type conversions that lose no content. For
> example a single value could automatically be transformed to a multi-valued
> property when required by the matching property definition.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira