You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2008/02/15 19:40:07 UTC

[jira] Created: (JCR-1389) setProperty(

setProperty(
------------

                 Key: JCR-1389
                 URL: https://issues.apache.org/jira/browse/JCR-1389
             Project: Jackrabbit
          Issue Type: Bug
            Reporter: Jukka Zitting




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


[jira] Updated: (JCR-1389) setProperty("name", new Value[0], PropertyType.LONG) loses property type

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-1389:
-------------------------------

          Component/s: jackrabbit-core
          Description: 
Adding an empty multivalued property with a specific non-STRING type to an unstructured node (i.e. one with an UNDEFINED multivalued property definition) creates an empty multivalued property of type STRING.

In some cases keeping the explicit type information is important, so we should avoid losing it.
             Priority: Minor  (was: Major)
    Affects Version/s: 1.3
                       1.3.1
                       1.3.3
                       1.4
        Fix Version/s: 1.4.1
             Assignee: Jukka Zitting
              Summary: setProperty("name", new Value[0], PropertyType.LONG) loses property type  (was: setProperty()

> setProperty("name", new Value[0], PropertyType.LONG) loses property type
> ------------------------------------------------------------------------
>
>                 Key: JCR-1389
>                 URL: https://issues.apache.org/jira/browse/JCR-1389
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.3, 1.3.1, 1.3.3, 1.4
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.4.1
>
>
> Adding an empty multivalued property with a specific non-STRING type to an unstructured node (i.e. one with an UNDEFINED multivalued property definition) creates an empty multivalued property of type STRING.
> In some cases keeping the explicit type information is important, so we should avoid losing it.

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


[jira] Resolved: (JCR-1389) setProperty("name", new Value[0], PropertyType.LONG) loses property type

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved JCR-1389.
--------------------------------

    Resolution: Fixed

Fixed in revision 628156, merged to the 1.4 branch in revision 628159.

> setProperty("name", new Value[0], PropertyType.LONG) loses property type
> ------------------------------------------------------------------------
>
>                 Key: JCR-1389
>                 URL: https://issues.apache.org/jira/browse/JCR-1389
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.3, 1.3.1, 1.3.3, 1.4
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.4.1
>
>
> Adding an empty multivalued property with a specific non-STRING type to an unstructured node (i.e. one with an UNDEFINED multivalued property definition) creates an empty multivalued property of type STRING.
> In some cases keeping the explicit type information is important, so we should avoid losing it.

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