Community
Participate
Working Groups
1) Register all entries of "Sample Repository with Query" with "Sample Repository with Registration" 2) View "All Items and Relationship" query using the tabular view Problems: 1) There are three templates included with the query. Two item templates and one relationship template. When clicking the filter combo box, the "all-items" item template is missing. The same problem occurs when viewing the query under "staff01" belonging to "Sample Repository with Query". The filter combo box doesn't show the two item templates involved in that query. 2) The relationships displayed are for some reason associated with source and target entries belonging to "all-items". They should belong to "all-items-in-relationships". See the query below: <?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2007 IBM Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM - Initial API and implementation--> <s:query xmlns:s="http://cmdbf.org/schema/1-0-0/datamodel"> <s:itemTemplate id="all-items"> </s:itemTemplate> <s:itemTemplate id="all-items-in-relationships"> </s:itemTemplate> <s:relationshipTemplate id="all-relationships"> <s:sourceTemplate ref="all-items-in-relationships"/> <s:targetTemplate ref="all-items-in-relationships"/> </s:relationshipTemplate> </s:query> See the attached snapshot for a visual depiction
As discussed the fix for this bug is quite involved. The workaround is to use the graph response tree view. Moving bug to i13 since there is a workaround.
Under the new scheme, in the graph response viewer, source and target items that are part of a relationship will not have their templateId shown and there will be no 'click' action on these items. - JT
Committed John's code changes.