You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2008/12/30 22:16:46 UTC

[jira] Created: (SLING-797) EventUtil.getNodePropertyValue wrong check for basic types

EventUtil.getNodePropertyValue wrong check for basic types
----------------------------------------------------------

                 Key: SLING-797
                 URL: https://issues.apache.org/jira/browse/SLING-797
             Project: Sling
          Issue Type: Bug
          Components: Event
    Affects Versions: Extensions Event 2.0.2
            Reporter: Tobias Bocanegra
         Attachments: EventUtil-r712058.patch

The type checks in getNodePropertyValue() are the wrong way around and never find the respective JCR property type.

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


[jira] Commented: (SLING-797) EventUtil.getNodePropertyValue wrong check for basic types

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660039#action_12660039 ] 

Carsten Ziegeler commented on SLING-797:
----------------------------------------

Hi Tobi,

while the checks where actually really wrong this only had an influence on calendar objects.
Thanks for your patch  - I applied it in revision 730337 - please cross check and close this bug. Thanks



> EventUtil.getNodePropertyValue wrong check for basic types
> ----------------------------------------------------------
>
>                 Key: SLING-797
>                 URL: https://issues.apache.org/jira/browse/SLING-797
>             Project: Sling
>          Issue Type: Bug
>          Components: Event, JCR Resource
>    Affects Versions: JCR Resource 2.0.2, Extensions Event 2.0.2
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.4, Extensions Event 2.0.4
>
>         Attachments: EventUtil-r712058.patch
>
>
> The type checks in getNodePropertyValue() are the wrong way around and never find the respective JCR property type.

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


[jira] Updated: (SLING-797) EventUtil.getNodePropertyValue wrong check for basic types

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

Carsten Ziegeler updated SLING-797:
-----------------------------------

          Component/s: JCR Resource
    Affects Version/s: JCR Resource 2.0.2
        Fix Version/s: Extensions Event 2.0.4
                       JCR Resource 2.0.4
             Assignee: Carsten Ziegeler

Adding jcr resource as the JcrResourceUtil has the same code in the createValue() method.

> EventUtil.getNodePropertyValue wrong check for basic types
> ----------------------------------------------------------
>
>                 Key: SLING-797
>                 URL: https://issues.apache.org/jira/browse/SLING-797
>             Project: Sling
>          Issue Type: Bug
>          Components: Event, JCR Resource
>    Affects Versions: JCR Resource 2.0.2, Extensions Event 2.0.2
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.4, Extensions Event 2.0.4
>
>         Attachments: EventUtil-r712058.patch
>
>
> The type checks in getNodePropertyValue() are the wrong way around and never find the respective JCR property type.

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


[jira] Closed: (SLING-797) EventUtil.getNodePropertyValue wrong check for basic types

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

Carsten Ziegeler closed SLING-797.
----------------------------------


> EventUtil.getNodePropertyValue wrong check for basic types
> ----------------------------------------------------------
>
>                 Key: SLING-797
>                 URL: https://issues.apache.org/jira/browse/SLING-797
>             Project: Sling
>          Issue Type: Bug
>          Components: Event, JCR Resource
>    Affects Versions: JCR Resource 2.0.2, Extensions Event 2.0.2
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.4, Extensions Event 2.0.4
>
>         Attachments: EventUtil-r712058.patch
>
>
> The type checks in getNodePropertyValue() are the wrong way around and never find the respective JCR property type.

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


[jira] Resolved: (SLING-797) EventUtil.getNodePropertyValue wrong check for basic types

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

Carsten Ziegeler resolved SLING-797.
------------------------------------

    Resolution: Fixed

> EventUtil.getNodePropertyValue wrong check for basic types
> ----------------------------------------------------------
>
>                 Key: SLING-797
>                 URL: https://issues.apache.org/jira/browse/SLING-797
>             Project: Sling
>          Issue Type: Bug
>          Components: Event, JCR Resource
>    Affects Versions: JCR Resource 2.0.2, Extensions Event 2.0.2
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.4, Extensions Event 2.0.4
>
>         Attachments: EventUtil-r712058.patch
>
>
> The type checks in getNodePropertyValue() are the wrong way around and never find the respective JCR property type.

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


[jira] Updated: (SLING-797) EventUtil.getNodePropertyValue wrong check for basic types

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

Tobias Bocanegra updated SLING-797:
-----------------------------------

    Attachment: EventUtil-r712058.patch

patch that fixes this issue.

> EventUtil.getNodePropertyValue wrong check for basic types
> ----------------------------------------------------------
>
>                 Key: SLING-797
>                 URL: https://issues.apache.org/jira/browse/SLING-797
>             Project: Sling
>          Issue Type: Bug
>          Components: Event
>    Affects Versions: Extensions Event 2.0.2
>            Reporter: Tobias Bocanegra
>         Attachments: EventUtil-r712058.patch
>
>
> The type checks in getNodePropertyValue() are the wrong way around and never find the respective JCR property type.

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