This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 222709 - QueryBuilder should populate the MdrID
Summary: QueryBuilder should populate the MdrID
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sheldon Lee-Loy CLA
QA Contact:
URL:
Whiteboard: useability
Keywords:
Depends on: 233690
Blocks:
  Show dependency tree
 
Reported: 2008-03-14 03:40 EDT by Martin D Simmonds CLA
Modified: 2012-01-03 13:48 EST (History)
1 user (show)

See Also:


Attachments
patch for the ui code. (6.85 KB, patch)
2008-05-23 12:12 EDT, Sheldon Lee-Loy CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin D Simmonds CLA 2008-03-14 03:40:30 EDT
The query builder currently gets data for RecordTypes, at the same time it could get the MdrID and populate the MdrID field where it is used in the query builder.  Currently you have to cut and paste this from elesewhere, and if you get that wrong then the query fails.  We should consider whether the field should be made read only.
Comment 1 Sheldon Lee-Loy CLA 2008-03-19 14:31:15 EDT
This bug is invalid. Since the mdrid may be different than the mdrId that the query is being submitted to.

This is true when querying a federating cmdb.  Let's say that we want to query a federating cmdb to get all configuration item with a particular mdrId.  The mdrId in the instanceId constraint would be different than the cmdbf mdrid.
Comment 2 John Devine CLA 2008-03-19 14:40:26 EDT
Sheldon, this might be true in the general case, but couldn't this be filled in as a default?   It is one of the more awkward pieces of the i9 demo to type in the contents of this field, and when presenting we have this in our paste buffer in order to move this along.
Comment 3 Sheldon Lee-Loy CLA 2008-05-06 23:14:26 EDT
Reopening based on Jack's comment.
Comment 4 Sheldon Lee-Loy CLA 2008-05-23 10:32:28 EDT
I found out that the broker does not provide the MDRid information.  A feature will be open to provide this information in the broker.  This feature will be opened by Hubert.  I will update this bug with the dependent ER.
Comment 5 Sheldon Lee-Loy CLA 2008-05-23 12:12:29 EDT
Created attachment 101764 [details]
patch for the ui code.
Comment 6 Sheldon Lee-Loy CLA 2008-07-21 17:10:28 EDT
Moving to i13.  Since this bug is not critical.
Comment 7 Sheldon Lee-Loy CLA 2008-08-13 23:37:51 EDT
Made fix to HEAD branch.
Comment 8 Sheldon Lee-Loy CLA 2008-08-28 13:34:26 EDT
Verified with build COSMOS-1.0.0-200808281255