Task #2122
Story #2086: CN issues found when creating tests for Python D1 CNClient
CNRead.listObjects(): count=0 returns all objects on CN
Start date:
2011-12-08
Due date:
% Done:
100%
Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:
Description
Calling CNRead.listObjects(count=0) should return an empty ObjectList, but returns all objects.
Calling CNRead.listObjects(count=0) is useful for discovering how many objects are available on the server, since that number gets returned as the "total" slice parameter.
Making the call with count=1 correctly returns only the first object.
History
#1 Updated by Chris Jones almost 13 years ago
- Status changed from New to Closed
Modified Metacat's IdentifierManager.querySystemMetadata() to return an empty list (with correct start and total) when count is requested as 0.