I was looking into a customer issue and went to the project in the RTC client
so that I could view the changes of the process configuration source. Upon viewing the source the first lines have the XML validation big-red X.
Repo version
Jazz Foundation - Jazz Team Server 1.0.0.2 iFix 1 (I20100302-1947)
Rational Quality Manager 2.0.1 iFix 1 (I20100426_1041)
Hovering over the icon shows this message:
cvc-elt.1: Cannot find the declaration of element 'process-specification'.
The source looks like this on the 1st few lines:
<?xml version="1.0" encoding="UTF-8"?><process-specification>
<role-definitions>
<role-definition cardinality="many" description="A test architect." role-id="architect"/>
<role-definition cardinality="many" description="A test team lead." role-id="testlead"/>
<role-definition cardinality="many" description="A team member who can create and execute test cases." role-id="tester"/>
<role-definition cardinality="many" description="A team member who leads a testing team." role-id="testmanager"/>
<role-definition cardinality="many" description="A team member who manages lab assets." role-id="labmanager"/>
</role-definitions>
The first version (there are only 2) looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<process-specification xmlns="http://com.ibm.team.process">
<role-definitions>
<role-definition role-id="architect" cardinality="many" description="A test architect." />
<role-definition role-id="testlead" cardinality="many" description="A test team lead." />
<role-definition role-id="tester" cardinality="many" description="A team member who can create and execute test cases." />
<role-definition role-id="testmanager" cardinality="many" description="A team member who leads a testing team." />
<role-definition role-id="labmanager" cardinality="many" description="A team member who manages lab assets." />
</role-definitions>
The obvious difference the missing xmlns URI in the first. The change view between the two versions of the process xml show 100's of differences.
The latest timestamp is the day when the repository was migrated to 2.0.1. Also in the tomcat logs there are messages about "Fail" and "Pass" not being valid execution states.
A freshly created RQM project area has:
<?xml version="1.0" encoding="UTF-8"?><!--
Licensed Materials - Property of IBM
(c) Copyright IBM Corporation 2010. All Rights Reserved.
Note to U.S. Government Users Restricted Rights:
Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.
-->
<process-specification xmlns="http://com.ibm.team.process">
<role-definitions>
<role-definition role-id="architect" cardinality="many" description="A test architect." />
<role-definition role-id="testlead" cardinality="many" description="A test team lead." />
<role-definition role-id="tester" cardinality="many" description="A team member who can create and execute test cases." />
<role-definition role-id="testmanager" cardinality="many" description="A team member who leads a testing team." />
<role-definition role-id="labmanager" cardinality="many" description="A team member who manages lab assets." />
</role-definitions>
Above is:
Jazz Foundation - Jazz Team Server 1.0.0.2 iFix 1 (I20100302-1947)
Rational Quality Manager 2.0.1 iFix 1 (I20100426_1041)
I'm also seeing SQL errors claiming things can't be found:
10:46:59,868 [http-tcbdb%2F9.42.60.89-9443-Processor57] ERROR ository.service.in
ternal.RdbRepositoryDataMediator - Failing ast query
-----------
CategoryQueryModel r = CategoryQueryModel.ROOT;
AstQuery q = (AstQuery) IItemQuery.FACTORY.newInstance(r);
q.filter(r.projectArea().itemId()._eq(q.newUUIDArg())._and(r.categoryType().item
Id()._eq(q.newUUIDArg())));
q.orderByAscUsingLocale(r.name());
-----------
IDynamicQueryModel d = ItemUtil.itemTypeFor("Category", "com.ibm.rqm.planning").
getQueryModel();
IItemQuery q = IItemQuery.FACTORY.newInstance((IDynamicItemQueryModel) d);
q.filter(((IUUIDField) d.getReference("projectArea").getReference("itemId"))._eq
(q.newUUIDArg())._and(((IUUIDField) d.getReference("categoryType").getReference(
"itemId"))._eq(q.newUUIDArg())));
q.orderByAscUsingLocale(((IStringField) d.getReference("name")));
-----------
parm 1: [UUID _IJB34AxQEd-2OtSeEGVEBA]parm 2: [UUID _InG7AAxQEd-2OtSeEGVEBA]
select t1.ITEM_ID, t1.STATE_ID from (select * from PLANNING.CATEGORY r1 where r1
.CONTEXT_ID in(?, ?, ?, ?)) t1 where ((t1.PROJECT_AREA_ITEM_ID = ?) and (t1.CATE
GORY_TYPE_ITEM_ID = ?)) order by collation_key_bit(t1.NAME_COL, 'UCA400R1_LPT')
asc
10:46:59,878 [http-tcbdb%2F9.42.60.89-9443-Processor57] ERROR ository.service.in
ternal.RdbRepositoryDataMediator - InternalRepositoryException processing query
com.ibm.team.repository.common.InternalRepositoryException: CRJAZ0368I Error exe
cuting query
stmt = select t1.ITEM_ID, t1.STATE_ID from (select * from PLANNING.CATEGORY r
1 where r1.CONTEXT_ID in(?, ?, ?, ?)) t1 where ((t1.PROJECT_AREA_ITEM_ID = ?) an
d (t1.CATEGORY_TYPE_ITEM_ID = ?)) order by collation_key_bit(t1.NAME_COL, 'UCA40
0R1_LPT') asc
I have a db2 search script and I handed some of the UUID to it looking for the values in any ITEM_ID field; they were all found.
Is this really messed up, now ?