You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Marcel Offermans (Closed) (JIRA)" <ji...@apache.org> on 2012/03/30 13:46:28 UTC
[jira] [Closed] (ACE-238) Register an already registered target
through REST API causes internal error
[ https://issues.apache.org/jira/browse/ACE-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Offermans closed ACE-238.
--------------------------------
Small fix committed, otherwise looks good.
> 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