Bug #4645
handleGetRevisionAndDocTypeAction should search both xml_documents and xml_revisions table
Start date:
01/04/2010
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
4645
Description
handleGetRevisionAndDocTypeAction API will return both revision and doctype for a given docid. Currently, it only searchs the xml_documents. It may gives clients a wrong message in this case:
There is no record in xml_documents, but it did have records in xml_revision table.
Here is the solution:
1. Search xml_documents table first. If metacat finds a result, returns it back to client.
2. If couldn't find result in xml_documents, then search xml_revisions table.
History
#1 Updated by Jing Tao over 12 years ago
now, it can search both xml_documents and xml_revisions.
#2 Updated by Redmine Admin about 9 years ago
Original Bugzilla ID was 4645