ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.W. Janssen (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACE-238) Register an already registered target through REST API causes internal error
Date Thu, 29 Mar 2012 14:28:27 GMT

     [ https://issues.apache.org/jira/browse/ACE-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

J.W. Janssen resolved ACE-238.
------------------------------

    Resolution: Fixed
      Assignee: Marcel Offermans  (was: J.W. Janssen)

Fixed + cleaned up the client REST API a bit.
                
> Register an already registered target through REST API causes internal error
> ----------------------------------------------------------------------------
>
>                 Key: ACE-238
>                 URL: https://issues.apache.org/jira/browse/ACE-238
>             Project: ACE
>          Issue Type: Bug
>            Reporter: J.W. Janssen
>            Assignee: Marcel Offermans
>
> When trying to register an already registered target through the REST API causes an internal
error:
> java.lang.IllegalArgumentException
> 	at org.apache.ace.client.repository.impl.ObjectRepositoryImpl.create(ObjectRepositoryImpl.java:83)
> 	at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.register(StatefulTargetRepositoryImpl.java:346)
> 	at org.apache.ace.client.repository.stateful.impl.StatefulTargetObjectImpl.register(StatefulTargetObjectImpl.java:103)
> 	at org.apache.ace.client.rest.Workspace.registerTarget(Workspace.java:234)
> 	at org.apache.ace.client.rest.RESTClientServlet.doPost(RESTClientServlet.java:315)
> The REST API should never crash like this.

--
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

        

Mime
View raw message