You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Brian Moseley (JIRA)" <ji...@apache.org> on 2005/08/10 23:55:35 UTC

[jira] Created: (JCR-180) allow ResourceType dav property to have multiple values

allow ResourceType dav property to have multiple values
-------------------------------------------------------

         Key: JCR-180
         URL: http://issues.apache.org/jira/browse/JCR-180
     Project: Jackrabbit
        Type: Bug
    Reporter: Brian Moseley
 Attachments: multivalue-resourcetype.patch

attached is a patch that allows the ResourceType dav property to have multiple values (useful for dav protocol extensions such as caldav). 

it is not a perfect patch, in that subclasses of ResourceType do not know about each others' resource types, but it is a decent start. one way to address this issue might be to have subclasses register extended resource types and their corresponding xml representations with ResourceType, removing the need for them to override resourceTypeToXml() and isValidResourceType().


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (JCR-180) allow ResourceType dav property to have multiple values

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-180?page=all ]

angela reassigned JCR-180:
--------------------------

    Assign To: angela

> allow ResourceType dav property to have multiple values
> -------------------------------------------------------
>
>          Key: JCR-180
>          URL: http://issues.apache.org/jira/browse/JCR-180
>      Project: Jackrabbit
>         Type: Bug
>     Reporter: Brian Moseley
>     Assignee: angela
>  Attachments: multivalue-resourcetype.patch
>
> attached is a patch that allows the ResourceType dav property to have multiple values (useful for dav protocol extensions such as caldav). 
> it is not a perfect patch, in that subclasses of ResourceType do not know about each others' resource types, but it is a decent start. one way to address this issue might be to have subclasses register extended resource types and their corresponding xml representations with ResourceType, removing the need for them to override resourceTypeToXml() and isValidResourceType().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (JCR-180) allow ResourceType dav property to have multiple values

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-180?page=all ]
     
angela closed JCR-180:
----------------------


> allow ResourceType dav property to have multiple values
> -------------------------------------------------------
>
>          Key: JCR-180
>          URL: http://issues.apache.org/jira/browse/JCR-180
>      Project: Jackrabbit
>         Type: Bug
>     Reporter: Brian Moseley
>     Assignee: angela
>  Attachments: multivalue-resourcetype.patch
>
> attached is a patch that allows the ResourceType dav property to have multiple values (useful for dav protocol extensions such as caldav). 
> it is not a perfect patch, in that subclasses of ResourceType do not know about each others' resource types, but it is a decent start. one way to address this issue might be to have subclasses register extended resource types and their corresponding xml representations with ResourceType, removing the need for them to override resourceTypeToXml() and isValidResourceType().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (JCR-180) allow ResourceType dav property to have multiple values

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-180?page=all ]
     
angela resolved JCR-180:
------------------------

    Resolution: Fixed

thanks for the patch and for the report.

i think the initial set of resourcetypes (as defined by RFC 2518 and 3253) should be extensible and modified the ResouceType class accordingly.

> allow ResourceType dav property to have multiple values
> -------------------------------------------------------
>
>          Key: JCR-180
>          URL: http://issues.apache.org/jira/browse/JCR-180
>      Project: Jackrabbit
>         Type: Bug
>     Reporter: Brian Moseley
>     Assignee: angela
>  Attachments: multivalue-resourcetype.patch
>
> attached is a patch that allows the ResourceType dav property to have multiple values (useful for dav protocol extensions such as caldav). 
> it is not a perfect patch, in that subclasses of ResourceType do not know about each others' resource types, but it is a decent start. one way to address this issue might be to have subclasses register extended resource types and their corresponding xml representations with ResourceType, removing the need for them to override resourceTypeToXml() and isValidResourceType().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (JCR-180) allow ResourceType dav property to have multiple values

Posted by "Brian Moseley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-180?page=all ]

Brian Moseley updated JCR-180:
------------------------------

    Attachment: multivalue-resourcetype.patch

> allow ResourceType dav property to have multiple values
> -------------------------------------------------------
>
>          Key: JCR-180
>          URL: http://issues.apache.org/jira/browse/JCR-180
>      Project: Jackrabbit
>         Type: Bug
>     Reporter: Brian Moseley
>  Attachments: multivalue-resourcetype.patch
>
> attached is a patch that allows the ResourceType dav property to have multiple values (useful for dav protocol extensions such as caldav). 
> it is not a perfect patch, in that subclasses of ResourceType do not know about each others' resource types, but it is a decent start. one way to address this issue might be to have subclasses register extended resource types and their corresponding xml representations with ResourceType, removing the need for them to override resourceTypeToXml() and isValidResourceType().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira