-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.0.0
-
Component/s: None
-
Sprint:nxDrive 10.2.3
-
Story Points:1
Use the following script, it returns the same result:
#!/usr/bin/env python from nuxeo.client import Nuxeo from logging import basicConfig log = basicConfig(level='DEBUG') nx = Nuxeo(host='http://localhost:8080/nuxeo', auth=('Administrator', 'Administrator')) nxql = 'SELECT * FROM Document' search = nx.client.query(nxql, params={'properties': '*'}) print len(search['entries']) nxql = 'SELECT * FROM Document WHERE uid = "does-not-exist-uid"' search = nx.client.query(nxql, params={'properties': '*'}) print len(search['entries'])