Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: Taverna 2.3 Server Release 1
-
Fix Version/s: Taverna 2.3 Server Release 1
-
Component/s: Webapp
-
Labels:None
Description
POSTing the following to a run owned by user "taverna":
<t2sr:permissionUpdate> <t2sr:userName>test1</t2sr:userName> <t2sr:permission>destroy</t2sr:permission> </t2sr:permissionUpdate>
Produces a 500 error.
Did that message include the xmlns:t2sr="http://ns.taverna.org.uk/2010/xml/server/rest/" pseudo-attribute? If not, the XML deserializer throws a fit.
Exception is:
WARNING: javax.xml.bind.UnmarshalException - with linked exception: [com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "t2sr" at [row,col {unknown-source}]: [1,23]]plus a long stack trace of no interest at all.
WARNING: javax.xml.bind.UnmarshalException - with linked exception: [com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "t2sr" at [row,col {unknown-source}]: [1,23]]