jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1964) VirtualNodeTypeStateProvider creates PropertyState with type != value(s).getType
Date Wed, 27 May 2009 08:32:45 GMT

     [ https://issues.apache.org/jira/browse/JCR-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated JCR-1964:
-------------------------------

    Fix Version/s:     (was: 1.6.0)
                   1.5.6

Merged to the 1.5 branch in revision 779051.

> VirtualNodeTypeStateProvider creates PropertyState with type != value(s).getType
> --------------------------------------------------------------------------------
>
>                 Key: JCR-1964
>                 URL: https://issues.apache.org/jira/browse/JCR-1964
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>            Reporter: angela
>            Assignee: angela
>             Fix For: 1.5.6
>
>         Attachments: JCR-1964.diff
>
>
> VirtualNodeTypeStateProvider creates the item states for the in content representation
of the node type definitions and in case of jcr:defaultValues hard codes the type of the property
state (thus the jcr property) to PropertyType.STRING.
> the nt-definition of nt:propertyDefinition however states that jcr:defaultValues doesn't
have a required type, thus the type should rather be determined based on the values themselves.
> the current behaviour leads situations where
> Property.getType != Property.getValues()[0].getType()
> which from my point of view is a bug.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message