You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Agron Limani (JIRA)" <ji...@apache.org> on 2010/01/26 15:18:37 UTC

[jira] Created: (CLEREZZA-91) Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal

Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal
-----------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CLEREZZA-91
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-91
             Project: Clerezza
          Issue Type: Bug
            Reporter: Agron Limani




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


[jira] Commented: (CLEREZZA-91) Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829019#action_12829019 ] 

Reto Bachmann-Gmür commented on CLEREZZA-91:
--------------------------------------------

reviewing

> Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-91
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-91
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.platform.typehandlerspace-CLEREZZA-91.patch
>
>


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


[jira] Commented: (CLEREZZA-91) Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829051#action_12829051 ] 

Reto Bachmann-Gmür commented on CLEREZZA-91:
--------------------------------------------

I think the synchronization on line 104 isn't needed.

> Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-91
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-91
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.platform.typehandlerspace-CLEREZZA-91.patch
>
>


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


[jira] Closed: (CLEREZZA-91) Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-91.
--------------------------------------


applied patch with minor changes: removed synchronization and have the right rewuest type injected (preventing cast)

> Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-91
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-91
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.platform.typehandlerspace-CLEREZZA-91.patch
>
>


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


[jira] Resolved: (CLEREZZA-91) Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal

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

Agron Limani resolved CLEREZZA-91.
----------------------------------

    Resolution: Fixed

TypeHandlerSpace:
returns now only typehandlers

to apply the patch:

svn cp --parents trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.platform.typehandlerspace/ issues/CLEREZZA-91/org.apache.clerezza.platform.typehandlerspace

patch -p0 -i file

> Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-91
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-91
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.platform.typehandlerspace-CLEREZZA-91.patch
>
>


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


[jira] Commented: (CLEREZZA-91) Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805467#action_12805467 ] 

Reto Bachmann-Gmür commented on CLEREZZA-91:
--------------------------------------------

I suggest to resolve CLEREZZA-94 first, afterwards the typehandler can be returned as subresource, the http method annotation and the call to jax-rs extensions becomes obsolete.

> Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-91
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-91
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Agron Limani
>


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


[jira] Updated: (CLEREZZA-91) Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal

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

Agron Limani updated CLEREZZA-91:
---------------------------------

    Attachment: org.apache.clerezza.platform.typehandlerspace-CLEREZZA-91.patch

> Class org.apache.clerezza.platform.typehandlerspace.TypeHandlerSpace has JAX-RS Resource Methods with more than one HttpMethod annotation, which is illegal
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-91
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-91
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.platform.typehandlerspace-CLEREZZA-91.patch
>
>


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