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 "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2014/08/14 11:08:12 UTC
[jira] [Commented] (OAK-2032) Setting a MV Name property does not
validate the namespaces
[ https://issues.apache.org/jira/browse/OAK-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096770#comment-14096770 ]
Tobias Bocanegra commented on OAK-2032:
---------------------------------------
added org.apache.jackrabbit.oak.jcr.MiscTest#testMVNameProperty in r1617901
> Setting a MV Name property does not validate the namespaces
> -----------------------------------------------------------
>
> Key: OAK-2032
> URL: https://issues.apache.org/jira/browse/OAK-2032
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0.4
> Reporter: Tobias Bocanegra
> Priority: Critical
> Fix For: 1.1
>
>
> {code}
> testRootNode.setProperty("testNameProperty", new String[]{"foobar:test"}, PropertyType.NAME);
> {code}
> must fail if {{foobar}} is not a registered namespace. Note, that when just setting a single value, the validation is done.
--
This message was sent by Atlassian JIRA
(v6.2#6252)