Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Getting CRVAP0290E CRMUD0061E errors while Creating Record.

Request:
*********************************
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:cq="http://www.ibm.com/xmlns/prod/rational/clearquest/1.0/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:oslc="http://open-services.net/ns/core#" xmlns:oslc_cm="http://open-services.net/ns/cm#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<oslc_cm:ChangeRequest rdf:about="https://xxxx/cqweb/oslc/repo/xxx/db/xxx/record/">
<dcterms:title>test record from OSLC</dcterms:title>
<dcterms:type>Defect</dcterms:type>
<cq:CustomerCategory>Tools test</cq:CustomerCategory>
<cq:Project>Tools test CQ_Test</cq:Project>
<cq:Discipline>Tool</cq:Discipline>
</oslc_cm:ChangeRequest>
</rdf:RDF>

Response:
****************************
rdf:RDF>
<Error>
<message>
CRVAP0290E CRMUD0061E The field "Discipline" is mandatory; a value must be specified.
</message>

As per the Request 'Discipline' value is already given in the Request.Not sure why still this comes up.

More info: Actually the Discipline is auto filled value which gets mandatory based on the project selection.
How to handle this situation?


0 votes


Accepted answer

Permanent link
Try with "Discipline" with the capital "D", as in <cq:Discipline>Tool</cq:Discipline>
vinitha dsouza selected this answer as the correct answer

0 votes

Comments

I have tried this as well.No Luck.

But i doubt about below behaviour,
Actually the Discipline is auto filled value which gets mandatory based on the project selection value.
How to handle this situation?

for eg: Usually in GUI if i select project drop down with "Tools test CQ_Test" value then automatically disciplines will be reflected as this is fetched from project record namely "Tools test CQ_Test".
But when i send them by request issues comes up.

OR Do request should be changed like below if it is different record,
<cq:Project rdf:resource="https://####/cqweb/oslc/repo/####/db/###/record/16777539-33555137"/>;
<cq:discipline>Tool</cq:discipline>

If the "Discipline" field depends on the "Project" field, you need to make sure that these fields are updated in the correct order.
http://www-01.ibm.com/support/docview.wss?uid=swg21507620

It's working fine now :)

Thanks for the info

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,957
× 516

Question asked: Jan 21 '15, 4:08 a.m.

Question was seen: 3,287 times

Last updated: Jan 28 '15, 3:44 a.m.

Confirmation Cancel Confirm