Hello,

We are on the latest revision(18220) of dhis-trunk. We are facing issues
creating dashboard.
We tried debugging the code and had seen that method with signature:

*List<T> getByUid( Collection<String> uids ) [Line no: 436]*

is throwing an exception while returning a list.

*That is, return getSharingCriteria().add( Restrictions.in( "uid", uids )
).list()*

is throwing an exception when list() method is called
on getSharingCriteria().add( Restrictions.in( "uid", uids ) ) .

*Request:*

Url:  http://localhost:8080/api/dashboards
Method: POST
Payload:

{
    "displayName": "AFGHANISTAN",
    "name": "AFGHANISTAN",
    "dashboardItems": [
        {
            "chart": {
                "id": "chartId"
            }
        }
    ],
    "publicAccess": "--------",
    "access": {
        "read": true,
        "manage": true,
        "update": true,
        "externalize": true,
        "write": true,
        "delete": true
    },
    "externalAccess": false,
    "userGroupAccesses": [],
    "id": "dashboardId"
}

Can you look into the issue?

-- 
Regards,
Mansi Singhal
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to