Bug 111016 - DataQueryDataCollectionAdapter.getObjectType() fails if next() has not yet been called.
DataQueryDataCollectionAdapter.getObjectType() fails if next() has not yet be...
Status: CLOSED WONTFIX
Product: Red Hat Web Application Framework
Classification: Retired
Component: persistence (Show other bugs)
5.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: ccm-bugs-list
Jon Orris
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-11-26 10:17 EST by Scott Seago
Modified: 2007-04-18 12:59 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-03-09 10:36:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Scott Seago 2003-11-26 10:17:10 EST
Description of problem:
DataQueryDataCollectionAdapter.getObjectType() calls
getDataObject().getObjectType() to return the object type. This fails
if next() has not yet been called. One consequence of this is that you
cannot filter on permissions, as the permissions code calls
getObjectType() on the passed-in DataQuery

London 5.2 change 38321 changes this to:
(ObjectType) getType().getProperty(m_dataObjectProperty).getType();

so that filtering is possible.



Version-Release number of selected component (if applicable):
5.2 and later.

How reproducible:
always

Steps to Reproduce:
1. call getObjectType on a DataQueryDataCollectionAdapter before
calling next() on it.
Comment 1 Scott Seago 2003-11-26 11:24:57 EST
Forgot to remove the fixme comment in the above changelist. 38324
removes it.

Note You need to log in before you can comment on or make changes to this bug.