Products | Versions |
---|---|
TIBCO Collaborative Information Manager | - |
Not Applicable | - |
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