You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Ugo Cei (JIRA)" <ji...@apache.org> on 2009/07/03 18:43:47 UTC

[jira] Created: (CMIS-23) Types feed parsing doesn't take folder, policy and relationship types into account

Types feed parsing doesn't take folder, policy and relationship types into account
----------------------------------------------------------------------------------

                 Key: CMIS-23
                 URL: https://issues.apache.org/jira/browse/CMIS-23
             Project: Chemistry
          Issue Type: Bug
          Components: atompub
            Reporter: Ugo Cei
            Priority: Critical
         Attachments: patch3.txt, patch4.txt

When parsing the "typeschildren" feed, only the <cmis:documentType> is considered, but <cmis:folderType>, <cims:policyType> and <cmis:relationshipType> should be considered as well, otherwise parsing a feed with any of the above elements will result in an NPE.

The patches provided extend the definition of the CMIS class to include constant definitions for the above elements and provide a fix for this issue.

A simple test which reads a types feed (generated by Alfresco 3.2) is also included.

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


[jira] Commented: (CMIS-23) Types feed parsing doesn't take folder, policy and relationship types into account

Posted by "Florent Guillaume (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727508#action_12727508 ] 

Florent Guillaume commented on CMIS-23:
---------------------------------------

Thanks, I'll check this and commit today or tomorrow.

> Types feed parsing doesn't take folder, policy and relationship types into account
> ----------------------------------------------------------------------------------
>
>                 Key: CMIS-23
>                 URL: https://issues.apache.org/jira/browse/CMIS-23
>             Project: Chemistry
>          Issue Type: Bug
>          Components: atompub
>            Reporter: Ugo Cei
>            Assignee: Florent Guillaume
>            Priority: Critical
>         Attachments: patch3.txt, patch4.txt
>
>
> When parsing the "typeschildren" feed, only the <cmis:documentType> is considered, but <cmis:folderType>, <cims:policyType> and <cmis:relationshipType> should be considered as well, otherwise parsing a feed with any of the above elements will result in an NPE.
> The patches provided extend the definition of the CMIS class to include constant definitions for the above elements and provide a fix for this issue.
> A simple test which reads a types feed (generated by Alfresco 3.2) is also included.

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


[jira] Updated: (CMIS-23) Types feed parsing doesn't take folder, policy and relationship types into account

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

Ugo Cei updated CMIS-23:
------------------------

    Attachment: patch4.txt

> Types feed parsing doesn't take folder, policy and relationship types into account
> ----------------------------------------------------------------------------------
>
>                 Key: CMIS-23
>                 URL: https://issues.apache.org/jira/browse/CMIS-23
>             Project: Chemistry
>          Issue Type: Bug
>          Components: atompub
>            Reporter: Ugo Cei
>            Priority: Critical
>         Attachments: patch3.txt, patch4.txt
>
>
> When parsing the "typeschildren" feed, only the <cmis:documentType> is considered, but <cmis:folderType>, <cims:policyType> and <cmis:relationshipType> should be considered as well, otherwise parsing a feed with any of the above elements will result in an NPE.
> The patches provided extend the definition of the CMIS class to include constant definitions for the above elements and provide a fix for this issue.
> A simple test which reads a types feed (generated by Alfresco 3.2) is also included.

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


[jira] Updated: (CMIS-23) Types feed parsing doesn't take folder, policy and relationship types into account

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

Ugo Cei updated CMIS-23:
------------------------

    Attachment: patch3.txt

> Types feed parsing doesn't take folder, policy and relationship types into account
> ----------------------------------------------------------------------------------
>
>                 Key: CMIS-23
>                 URL: https://issues.apache.org/jira/browse/CMIS-23
>             Project: Chemistry
>          Issue Type: Bug
>          Components: atompub
>            Reporter: Ugo Cei
>            Priority: Critical
>         Attachments: patch3.txt, patch4.txt
>
>
> When parsing the "typeschildren" feed, only the <cmis:documentType> is considered, but <cmis:folderType>, <cims:policyType> and <cmis:relationshipType> should be considered as well, otherwise parsing a feed with any of the above elements will result in an NPE.
> The patches provided extend the definition of the CMIS class to include constant definitions for the above elements and provide a fix for this issue.
> A simple test which reads a types feed (generated by Alfresco 3.2) is also included.

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


[jira] Updated: (CMIS-23) Types feed generation and parsing don't take folderType, policyType and relationshipType into account

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

Florent Guillaume updated CMIS-23:
----------------------------------

    Summary: Types feed generation and parsing don't take folderType, policyType and relationshipType into account  (was: Types feed parsing doesn't take folder, policy and relationship types into account)

The feed generation has to be fixed as well, only <cmis:documentType> were generated.

> Types feed generation and parsing don't take folderType, policyType and relationshipType into account
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-23
>                 URL: https://issues.apache.org/jira/browse/CMIS-23
>             Project: Chemistry
>          Issue Type: Bug
>          Components: atompub
>            Reporter: Ugo Cei
>            Assignee: Florent Guillaume
>            Priority: Critical
>         Attachments: patch3.txt, patch4.txt
>
>
> When parsing the "typeschildren" feed, only the <cmis:documentType> is considered, but <cmis:folderType>, <cims:policyType> and <cmis:relationshipType> should be considered as well, otherwise parsing a feed with any of the above elements will result in an NPE.
> The patches provided extend the definition of the CMIS class to include constant definitions for the above elements and provide a fix for this issue.
> A simple test which reads a types feed (generated by Alfresco 3.2) is also included.

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


[jira] Assigned: (CMIS-23) Types feed parsing doesn't take folder, policy and relationship types into account

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

Florent Guillaume reassigned CMIS-23:
-------------------------------------

    Assignee: Florent Guillaume

> Types feed parsing doesn't take folder, policy and relationship types into account
> ----------------------------------------------------------------------------------
>
>                 Key: CMIS-23
>                 URL: https://issues.apache.org/jira/browse/CMIS-23
>             Project: Chemistry
>          Issue Type: Bug
>          Components: atompub
>            Reporter: Ugo Cei
>            Assignee: Florent Guillaume
>            Priority: Critical
>         Attachments: patch3.txt, patch4.txt
>
>
> When parsing the "typeschildren" feed, only the <cmis:documentType> is considered, but <cmis:folderType>, <cims:policyType> and <cmis:relationshipType> should be considered as well, otherwise parsing a feed with any of the above elements will result in an NPE.
> The patches provided extend the definition of the CMIS class to include constant definitions for the above elements and provide a fix for this issue.
> A simple test which reads a types feed (generated by Alfresco 3.2) is also included.

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


[jira] Resolved: (CMIS-23) Types feed generation and parsing don't take folderType, policyType and relationshipType into account

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

Florent Guillaume resolved CMIS-23.
-----------------------------------

    Resolution: Fixed

The patches have been reworked a bit, and a simpler example feed used.
Fixed for both parsing and generation.
r794271


> Types feed generation and parsing don't take folderType, policyType and relationshipType into account
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-23
>                 URL: https://issues.apache.org/jira/browse/CMIS-23
>             Project: Chemistry
>          Issue Type: Bug
>          Components: atompub
>            Reporter: Ugo Cei
>            Assignee: Florent Guillaume
>            Priority: Critical
>         Attachments: patch3.txt, patch4.txt
>
>
> When parsing the "typeschildren" feed, only the <cmis:documentType> is considered, but <cmis:folderType>, <cims:policyType> and <cmis:relationshipType> should be considered as well, otherwise parsing a feed with any of the above elements will result in an NPE.
> The patches provided extend the definition of the CMIS class to include constant definitions for the above elements and provide a fix for this issue.
> A simple test which reads a types feed (generated by Alfresco 3.2) is also included.

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