[prev in list] [next in list] [prev in thread] [next in thread] 

List:       juddi-dev
Subject:    [jira] Updated: (JUDDI-412) OverviewDoc.overviewUrl should be
From:       "Kurt T Stam (JIRA)" <juddi-dev () ws ! apache ! org>
Date:       2010-10-01 15:18:36
Message-ID: 26778236.498331285946316205.JavaMail.jira () thor
[Download RAW message or body]


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

Kurt T Stam updated JUDDI-412:
------------------------------

    Fix Version/s: 3.0.4
                       (was: 3.0.5)

> OverviewDoc.overviewUrl should be nullable
> ------------------------------------------
> 
> Key: JUDDI-412
> URL: https://issues.apache.org/jira/browse/JUDDI-412
> Project: jUDDI
> Issue Type: Bug
> Affects Versions: 3.0.3
> Reporter: Tom Cunningham
> Assignee: Tom Cunningham
> Fix For: 3.0.4
> 
> 
> OverviewURL is optional in OverviewDoc, provided that you specify a Description.    \
> Omitting an OverviewURL is currently causing an error:  QUERY :
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" \
> xmlns:urn="urn:uddi-org:api_v3" xmlns:xd="http://www.w3.org/2000/09/xmldsig#"> \
> <soapenv:Header/> <soapenv:Body>
> <save_tModel xmlns="urn:uddi-org:api_v3">
> <authInfo>authtoken:81cae87a-102f-4b58-ac8c-10d205bfdd2b</authInfo>
> <tModel tModelKey="uddi:uddi.org:tmodeltest02">
> <name>tmodeltest02</name>
> <description xml:lang="en">SoapUI Test Case</description>
> <overviewDoc>
> <description xml:lang="en">This is a tModel create for testing</description>
> </overviewDoc>
> </tModel> 
> 	</save_tModel>
> </soapenv:Body>
> </soapenv:Envelope>
> RESULT :
> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
> <env:Header/>
> <env:Body>
> <env:Fault>
> <faultcode>env:Server</faultcode>
> <faultstring>org.hibernate.PropertyValueException: not-null property references a \
> null or transient value: \
> org.apache.juddi.model.OverviewDoc.overviewUrl</faultstring> </env:Fault>
> </env:Body>
> </env:Envelope>
> Here's what I think needs changing : 
> @Column(name = "overview_url", nullable = false)
> public String getOverviewUrl() {
> return this.overviewUrl;
> }

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic