You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2009/08/24 18:32:59 UTC

[jira] Created: (JCR-2276) org.apache.jackrabbit.server.remoting.davex.JsonWriter: wrong value type for ::NodeIteratorSize attribute

org.apache.jackrabbit.server.remoting.davex.JsonWriter: wrong value type for ::NodeIteratorSize attribute
---------------------------------------------------------------------------------------------------------

                 Key: JCR-2276
                 URL: https://issues.apache.org/jira/browse/JCR-2276
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr-server
            Reporter: Stefan Guggisberg


the ::NodeIteratorSize attribute is serialized as string value whereas the client expects a long value.
this causes unnecessery server-roundtrips since the client doesn't detect this hint.

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


[jira] Updated: (JCR-2276) org.apache.jackrabbit.server.remoting.davex.JsonWriter: wrong value type for ::NodeIteratorSize attribute

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

Stefan Guggisberg updated JCR-2276:
-----------------------------------

    Comment: was deleted

(was: a patch for o.a.jackrabbit.spi.commons.conversion,NameParser
that includes a simple static check of the name in order to 
avoid unneccessary server-roundtrips

the following names are always considered being qualified jcr names since the would be illegal expanded form:
- "{foo}" => empty local name is not allowed 
- "{foo} bar" => leading space in local name is not allowed 

however, the patch causes 2 failures in o.a.jackrabbit.spi.commons.conversion,NameParser;
IMO the failing test cases are questionable and could be fixed.)

> org.apache.jackrabbit.server.remoting.davex.JsonWriter: wrong value type for ::NodeIteratorSize attribute
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2276
>                 URL: https://issues.apache.org/jira/browse/JCR-2276
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-server
>            Reporter: Stefan Guggisberg
>             Fix For: 2.0.0
>
>
> the ::NodeIteratorSize attribute is serialized as string value whereas the client expects a long value.
> this causes unnecessery server-roundtrips since the client doesn't detect this hint.

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


[jira] Updated: (JCR-2276) org.apache.jackrabbit.server.remoting.davex.JsonWriter: wrong value type for ::NodeIteratorSize attribute

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

Stefan Guggisberg updated JCR-2276:
-----------------------------------

    Attachment: JCR-2275.patch

a patch for o.a.jackrabbit.spi.commons.conversion,NameParser
that includes a simple static check of the name in order to 
avoid unneccessary server-roundtrips

the following names are always considered being qualified jcr names since the would be illegal expanded form:
- "{foo}" => empty local name is not allowed 
- "{foo} bar" => leading space in local name is not allowed 

however, the patch causes 2 failures in o.a.jackrabbit.spi.commons.conversion,NameParser;
IMO the failing test cases are questionable and could be fixed.

> org.apache.jackrabbit.server.remoting.davex.JsonWriter: wrong value type for ::NodeIteratorSize attribute
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2276
>                 URL: https://issues.apache.org/jira/browse/JCR-2276
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-server
>            Reporter: Stefan Guggisberg
>         Attachments: JCR-2275.patch
>
>
> the ::NodeIteratorSize attribute is serialized as string value whereas the client expects a long value.
> this causes unnecessery server-roundtrips since the client doesn't detect this hint.

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


[jira] Updated: (JCR-2276) org.apache.jackrabbit.server.remoting.davex.JsonWriter: wrong value type for ::NodeIteratorSize attribute

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

Stefan Guggisberg updated JCR-2276:
-----------------------------------

    Attachment:     (was: JCR-2275.patch)

> org.apache.jackrabbit.server.remoting.davex.JsonWriter: wrong value type for ::NodeIteratorSize attribute
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2276
>                 URL: https://issues.apache.org/jira/browse/JCR-2276
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-server
>            Reporter: Stefan Guggisberg
>
> the ::NodeIteratorSize attribute is serialized as string value whereas the client expects a long value.
> this causes unnecessery server-roundtrips since the client doesn't detect this hint.

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


[jira] Resolved: (JCR-2276) org.apache.jackrabbit.server.remoting.davex.JsonWriter: wrong value type for ::NodeIteratorSize attribute

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

Stefan Guggisberg resolved JCR-2276.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

fixed in svn r807939

> org.apache.jackrabbit.server.remoting.davex.JsonWriter: wrong value type for ::NodeIteratorSize attribute
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2276
>                 URL: https://issues.apache.org/jira/browse/JCR-2276
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-server
>            Reporter: Stefan Guggisberg
>             Fix For: 2.0.0
>
>
> the ::NodeIteratorSize attribute is serialized as string value whereas the client expects a long value.
> this causes unnecessery server-roundtrips since the client doesn't detect this hint.

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