← Back to team overview

dhis2-devs team mailing list archive

Unable to create dashboards on latest revision of trunk.

 

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

Follow ups