You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by ju...@ws.apache.org on 2004/08/25 19:38:21 UTC

[jira] Closed: (JUDDI-37) Updating an existing tModel fails, and causes it to be removed from registry

Message:

   The following issue has been closed.

   Resolver: Steve Viens
       Date: Wed, 25 Aug 2004 10:38 AM

The save_tModel request has been updated to physically remove an existing TModel from the DataStore prior to saving it.  This fix resoves issue JUDDI-37 (http://nagoya.apache.org/jira/browse/JUDDI-37). When performing a delete_tModel the tModel instance is merely marked as deleted.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JUDDI-37

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JUDDI-37
    Summary: Updating an existing tModel fails, and causes it to be removed from registry
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: jUDDI
   Fix Fors:
             0.9

   Assignee: Steve Viens
   Reporter: Alex Holmes

    Created: Fri, 13 Aug 2004 9:22 AM
    Updated: Wed, 25 Aug 2004 10:38 AM
Environment: JUDDI 0.9rc3 running on Tomcat 5.0.  Client is using UDDI4J.

Description:
When I try and update an existing tModel with new data, I get
an exception that complains of a duplicate key (which is true,
as I'm updating, not creating a new one).  However, then the
tModel that I tried updating can't be retrieved at all from
the registry.

Here's the request and response messages:

Request body:
<save_tModel generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:34EEDA90-EC05-11D8-9A90-
9E70B848F48B</authInfo><tModel
authorizedName="John Doe" operator="jUDDI.org"
tModelKey="uuid:D5B01E30-EB5B-11D8-9E30-FE99729CEBA3"><name>Alex's
tmodel</name><overviewDoc/><identifierBag><keyedReference keyName="aa"
keyValue="cc"
tModelKey="uuid:8609C81E-EE1F-4D5A-B202-3EB13AD01823"/></identifierBag><
categoryBag/></tModel></save_tModel>

Response body:
<Fault><faultstring>Duplicate key or integrity constraint violation, 
message from server: &quot;Duplicate entry
'uuid:D5B01E30-EB5B-11D8-9E30-FE99729CEBA3' for key
1&quot;</faultstring></Fault>


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira