This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 238345 - Problems with the tabular graph response view
Summary: Problems with the tabular graph response view
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Leonard Richardson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 17:40 EDT by amehrega CLA
Modified: 2012-01-03 13:47 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amehrega CLA 2008-06-24 17:40:00 EDT
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
Comment 1 Sheldon Lee-Loy CLA 2008-07-23 09:52:23 EDT
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.
Comment 2 John Todd CLA 2008-09-02 12:41:56 EDT
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
Comment 3 Leonard Richardson CLA 2008-09-03 04:58:45 EDT
Committed John's code changes.