It's all about the answers!

Ask a question

Getting CRVAP0290E CRMUD0061E errors while Creating Record.


vinitha dsouza (14723136) | asked Jan 21 '15, 4:08 a.m.
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?


Accepted answer


permanent link
Donald Nong (14.5k614) | answered Jan 23 '15, 1:34 a.m.
Try with "Discipline" with the capital "D", as in <cq:Discipline>Tool</cq:Discipline>
vinitha dsouza selected this answer as the correct answer

Comments
vinitha dsouza commented Jan 27 '15, 12:33 a.m.

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>


Donald Nong commented Jan 27 '15, 7:18 p.m.

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


vinitha dsouza commented Jan 28 '15, 3:44 a.m.

It's working fine now :)

Thanks for the info

Your answer


Register or 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.