In record query webservice irrespective of the value set for ACTIVE flag, deleted records are returned.
book
Article ID: KB0085735
calendar_today
Updated On:
TIBCO Collaborative Information Manager
|
-
|
Not Applicable
|
-
|
Description
Resolution:
Description:
============
In a record query webservice, regardless of the value set for ACTIVE flag, deleted records are returned.
Environment:
============
TIBCO Product name and version: TIBCO Collaborative Information Manager 8.0.1
Operating System(s): All Operating Systems
Symptoms:
============
Both the following requests return the deleted records in the repository:
<Transaction>
<Command type="Query">
<MasterCatalogRecord etype="Entity">
<ExternalKeys>
<Key name="MASTERCATALOGNAME" type="string">ACT</Key>
<Key name="PRODUCTID">*</Key>
<Key name="ACTIVE">N</Key>
</ExternalKeys>
</MasterCatalogRecord>
</Command>
</Transaction>
<Transaction>
<Command type="Query">
<MasterCatalogRecord etype="Entity">
<ExternalKeys>
<Key name="MASTERCATALOGNAME" type="string">ACT</Key>
<Key name="PRODUCTID">*</Key>
<Key name="ACTIVE">Y</Key>
</ExternalKeys>
</MasterCatalogRecord>
</Command>
</Transaction>
Cause:
======
A defect has been logged.
Resolution:
=========
As a workaround, to retrieve deleted records use the following request:
<Transaction>
<Command type="Query">
<MasterCatalogRecord etype="Entity">
<ExternalKeys>
<Key name="MASTERCATALOGNAME" type="string">ACT</Key>
<Key name="PRODUCTID">*</Key>
<Key name="ACTIVE">N</Key>
</ExternalKeys>
</MasterCatalogRecord>
</Command>
</Transaction>
and to retrieve active records, use the following request:
<Transaction>
<Command type="Query">
<MasterCatalogRecord etype="Entity">
<ExternalKeys>
<Key name="MASTERCATALOGNAME" type="string">ACT</Key>
<Key name="PRODUCTID">*</Key>
<Key name="RECORD_STATE">CONFIRMED</Key>
</ExternalKeys>
</MasterCatalogRecord>
</Command>
</Transaction>
Attachments:
===========
N/A
References:
===========
None
Issue/Introduction
In record query webservice irrespective of the value set for ACTIVE flag, deleted records are returned.
Feedback
thumb_up
Yes
thumb_down
No