You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2016/02/24 20:45:18 UTC

[jira] [Comment Edited] (OAK-3930) Sysview import of single valued mv property creates sv property

    [ https://issues.apache.org/jira/browse/OAK-3930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15162956#comment-15162956 ] 

angela edited comment on OAK-3930 at 2/24/16 7:44 PM:
------------------------------------------------------

[~tripod], just had a quick look... IMO that's a plain bug in {{SysViewImportHandler}} line 280: the {{PropInfo}} is created without passing the {{currentPropMultipleStatus}} to the constructor. I will create test-cases illustrating what I believe is the issue you reported and commit the fix if all tests including ITs pass.


was (Author: anchela):
[~tripod], just had a quick look... IMO that's a plain bug in {{SysViewImportHandler}} line 280: the {{PropInfo}} is created with passing the {{currentPropMultipleStatus}} to the constructor. I will create test-cases illustrating what I believe is the issue you reported and commit the fix if all tests including ITs pass.

> Sysview import of single valued mv property creates sv property
> ---------------------------------------------------------------
>
>                 Key: OAK-3930
>                 URL: https://issues.apache.org/jira/browse/OAK-3930
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>    Affects Versions: 1.3.14
>            Reporter: Tobias Bocanegra
>            Assignee: angela
>             Fix For: 1.3.17
>
>
> See test in filevault [0].
> it imports a multivalue property that only has 1 value, via [1]. the same test succeeds in jackrabbit 2.0, but fails in oak 1.3.14
> [0] https://github.com/apache/jackrabbit-filevault/blob/jackrabbit-filevault-3.1.26/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/TestUserContentPackage.java#L297-L326
> [1] https://github.com/apache/jackrabbit-filevault/blob/jackrabbit-filevault-3.1.26/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/io/JcrSysViewTransformer.java#L146-L148



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)