You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2012/07/13 17:59:33 UTC

[jira] [Created] (OAK-188) Invalid JSOP encoding in CommitBuilder

Jukka Zitting created OAK-188:
---------------------------------

             Summary: Invalid JSOP encoding in CommitBuilder
                 Key: OAK-188
                 URL: https://issues.apache.org/jira/browse/OAK-188
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: mk
    Affects Versions: 0.3
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting
            Priority: Minor


The {{CommitBuilder}} class in {{oak-mk}} uses simple string composition in the various {{Change.asDiff()}} methods. This fails for example when dealing with a path that contains the quote character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (OAK-188) Invalid JSOP encoding in CommitBuilder

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

Jukka Zitting resolved OAK-188.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4

Fixed in revision 1361282 by using {{JsopBuilder}} instead of {{StringBuilder}} to generate the JSOP diffs.
                
> Invalid JSOP encoding in CommitBuilder
> --------------------------------------
>
>                 Key: OAK-188
>                 URL: https://issues.apache.org/jira/browse/OAK-188
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>    Affects Versions: 0.3
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.4
>
>
> The {{CommitBuilder}} class in {{oak-mk}} uses simple string composition in the various {{Change.asDiff()}} methods. This fails for example when dealing with a path that contains the quote character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OAK-188) Invalid JSOP encoding in CommitBuilder and KernelNodeStoreBranch

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

Jukka Zitting updated OAK-188:
------------------------------

    Summary: Invalid JSOP encoding in CommitBuilder and KernelNodeStoreBranch  (was: Invalid JSOP encoding in CommitBuilder)

There was a similar problem also in the {{KernelNodeStoreBranch}} class in {{oak-core}}. I fixed it in the same way in revision 1361306.
                
> Invalid JSOP encoding in CommitBuilder and KernelNodeStoreBranch
> ----------------------------------------------------------------
>
>                 Key: OAK-188
>                 URL: https://issues.apache.org/jira/browse/OAK-188
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>    Affects Versions: 0.3
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.4
>
>
> The {{CommitBuilder}} class in {{oak-mk}} uses simple string composition in the various {{Change.asDiff()}} methods. This fails for example when dealing with a path that contains the quote character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira