Hi, I'm trying to get the opensocial dashboard (nuxeo 5.3.1) to load up the current users tasks.
When I go to the dashboard, it sends a post request to the following url : http://localhost:8080/nuxeo/opensocial/gadgets/makeRequest?authz=&bypassSpecCache=1&container=default&contentType=JSON&gadget=http%3A%2F%2Flocalhost%3A8080%2Fnuxeo%2Fsite%2Fgadgets%2Fmanager%2Fwaitingfor%2Fwaitingfor%2Fwaitingfor.xml&getSummaries=false&headers=Cache-control%3Dno-cache%252C%2520must-revalidate%26X-NUXEO-INTEGRATED-AUTH%3DE3BCB3873D8E7A71CFF9910C17B7C982&httpMethod=GET&numEntries=3&postData=&signOwner=true&signViewer=true&st=&url=http%3A%2F%2Flocalhost%3A8080%2Fnuxeo%2FrestAPI%2FworkflowTasks%2Fdefault%3Fmytasks%3Dfalse%26format%3DJSON%26ts%3D12777034575098.472536573814493%26lang%3Den_GB%26labels%3DworkflowDirectiveValidation%2CworkflowDirectiveOpinion%2CworkflowDirectiveVerification%2CworkflowDirectiveCheck%2CworkflowDirectiveDiffusion%2Clabel.workflow.task.name%2Clabel.workflow.task.duedate%2Clabel.workflow.task.directive About 5 minutes later this will return with the following response : throw 1; < don't be evil' >{"http://localhost:8080/nuxeo/restAPI/workflowTasks/default?mytasks=false&format=JSON&ts=12777034575098.472536573814493&lang=en_GB&labels=workflowDirectiveValidation,workflowDirectiveOpinion,workflowDirectiveVerification,workflowDirectiveCheck,workflowDirectiveDiffusion,label.workflow.task.name,label.workflow.task.duedate,label.workflow.task.directive":{"headers":{},"body":"{\n \"summary\": {\n \"author\": \"\",\n \"description\": \"\",\n \"link\": \"http://localhost:8080/nuxeo/restAPI/workflowTasks/default?mytasks=false&format=JSON&ts=12777034575098.472536573814493&lang=en_GB&labels=workflowDirectiveValidation,workflowDirectiveOpinion,workflowDirectiveVerification,workflowDirectiveCheck,workflowDirectiveDiffusion,label.workflow.task.name,label.workflow.task.duedate,label.workflow.task.directive\",\n \"modificationDate\": null,\n \"pageNumber\": 0,\n \"pages\": 0,\n \"title\": \"Tasks for dunsters_approver\"\n },\n \"translations\": {\n \"label.workflow.task.name\": \"Task Name\",\n \"workflowDirectiveOpinion\": \"Opinion\",\n \"workflowDirectiveDiffusion\": \"Diffusion\",\n \"label.workflow.task.directive\": \"Directive\",\n \"label.workflow.task.duedate\": \"Due date\",\n \"workflowDirectiveCheck\": \"Check\",\n \"workflowDirectiveVerification\": \"Verification\",\n \"workflowDirectiveValidation\": \"Validation\"\n },\n \"data\": {}\n}","rc":200}} If I hit the url in the response : http://localhost:8080/nuxeo/restAPI/workflowTasks/default?mytasks=false&format=JSON&ts=12777034575098.472536573814493&lang=en_GB&labels=workflowDirectiveValidation,workflowDirectiveOpinion,workflowDirectiveVerification,workflowDirectiveCheck,workflowDirectiveDiffusion,label.workflow.task.name,label.workflow.task.duedate,label.workflow.task.directive I get the following output : { "summary": { "author": "", "description": "", "link": "http://localhost:8080/nuxeo/restAPI/workflowTasks/default?mytasks=false&format=JSON&ts=12777034575098.472536573814493&lang=en_GB&labels=workflowDirectiveValidation,workflowDirectiveOpinion,workflowDirectiveVerification,workflowDirectiveCheck,workflowDirectiveDiffusion,label.workflow.task.name,label.workflow.task.duedate,label.workflow.task.directive", "modificationDate": null, "pageNumber": 0, "pages": 0, "title": "Tasks for dunsters_approver" }, "translations": { "label.workflow.task.name": "Task Name", "workflowDirectiveOpinion": "Opinion", "workflowDirectiveDiffusion": "Diffusion", "label.workflow.task.directive": "Directive", "label.workflow.task.duedate": "Due date", "workflowDirectiveCheck": "Check", "workflowDirectiveVerification": "Verification", "workflowDirectiveValidation": "Validation" }, "data": {} } Can anyone give me any advice for how to get this working? -- Posted by "mark" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=3818#11693> _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
