dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #35608
Re: Unable to create dashboards on latest revision of trunk.
Hey Morten,
Dashboard table contains the UID column. This is something else. Can you
please look into the issue.
On Wed, Feb 11, 2015 at 1:05 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
wrote:
> This is probably related to the other TW bug reported on this list? If
> dashboards don't have UIDs, it will fail.
>
> If its not, can you at least confirm that dashboard table contains the UID
> column?
>
> --
> Morten
>
> On Wed, Feb 11, 2015 at 1:27 PM, Mansi Singhal <msinghal@xxxxxxxxxxxxxxxx>
> wrote:
>
>> 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@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
--
Regards,
Mansi Singhal
Follow ups
References