Fix opensocial dashboard listing of documents in "my documents" gadget
----------------------------------------------------------------------
Key: NXP-5081
URL: https://jira.nuxeo.org/browse/NXP-5081
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Reporter: Anahide Tchertchian
Fix For: 5.3.2
Running selenium tests, opensocial dashboard is no longer displaying the
complete list of documents in "My documents" gadget : in fact its content does
not seem to be deterministic (or what's the criterion ?)
See for instance
http://localhost:8080/nuxeo/restAPI/dashboard/relevant_documents?format=JSON&page=
After 20 mins trying to reproduce the bug, the content returned has changed
from only "testTopicWithModeration" ("testTopicWithoutModeration" was missing,
as selenium tests show) to only "testContextualLink1".
SQL request behind it looks like:
2010-05-06 12:32:28,874 DEBUG
[org.nuxeo.ecm.core.search.api.client.querymodel.QueryModel] execute query:
SELECT * FROM Document WHERE ecm:mixinType != 'Folderish' AND ecm:mixinType !=
'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:isProxy = 0 AND
ecm:currentLifeCycleState != 'deleted' AND ecm:uuid IN
('1fe3bedc-4300-4bd6-8089-092a34845772',
'386d109b-851e-46b4-af3d-885687532b01', 'a21f92ec-b533-44a8-aa8f-2cdafeab02c0',
'8c9e89b7-10f0-4d78-8bd9-8d6b884f314c', 'a21f92ec-b533-44a8-aa8f-2cdafeab02c0',
'386d109b-851e-46b4-af3d-885687532b01', '29ae3b08-8218-4951-91ff-0645e9c6c885',
'68b51f22-e0e1-4145-8790-dd5fbb8b2848', '540364d9-aadc-44da-bc71-06ec60c1af32',
'4dec5cc1-9d06-4dfe-b7b7-32f1d2a1d20e', '540364d9-aadc-44da-bc71-06ec60c1af32',
'68b51f22-e0e1-4145-8790-dd5fbb8b2848', '14cd167e-cd4b-403a-aefb-bbbbecb21380',
'14cd167e-cd4b-403a-aefb-bbbbecb21380', 'da83229e-dcd6-4507-97f4-31bc07f83263',
'da83229e-dcd6-4507-97f4-31bc07f83263', '8bbbfb7c-dfa3-4c58-a39e-1c2723299fcf',
'da83229e-dcd6-4507-97f4-31bc07f83263', '6e92ccf1-3848-435f-bd17-1f658782c89c',
'b65f7f79-c0a9-4428-99e0-5683316a4c5c') ORDER BY dc:modified DESC
=> do we need to change the selenium test or is there a bug? The old dashboard
still displays the two forums ("testTopicWithModeration" and
"testTopicWithoutModeration") but it does not do the same queries anyway.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets