Not able to add favorites in GIS

Hi Devs

We have configured DHIS2 GIS application via the GML import process. We are able to plot data on maps and all works fine till we move towards adding a favorite. Somehow we are not able to add one.

We checked the console and found the error mentioned in the attached text file. We did check on the DHIS2 demo instance and it works fine there. Any help on how this can be resolved will be appreciated.

Following are the version and build details:

Version:

2.25

Build revision:

04a7fe7

Build date:

2016-11-23 06:37

Regards

Saurabh

GIS error.txt (16.9 KB)

Hi Saurabh,

I’ve been looking into this but not able to reproduce. Could you try again with the very latest 2.25? Could you please give us access privately to a database dump where this happens?

regards,

Lars

···

On Wed, Nov 23, 2016 at 1:42 PM, Saurabh saurabh.leekha87@gmail.com wrote:

Hi Devs

We have configured DHIS2 GIS application via the GML import process. We are able to plot data on maps and all works fine till we move towards adding a favorite. Somehow we are not able to add one.

We checked the console and found the error mentioned in the attached text file. We did check on the DHIS2 demo instance and it works fine there. Any help on how this can be resolved will be appreciated.

Following are the version and build details:

Version:

2.25

Build revision:

04a7fe7

Build date:

2016-11-23 06:37

Regards

Saurabh


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Thanks Lars!

Will do the needful and share results accordingly.

Regards

Saurabh

···

On Wed, Nov 23, 2016 at 1:42 PM, Saurabh saurabh.leekha87@gmail.com wrote:

Hi Devs

We have configured DHIS2 GIS application via the GML import process. We are able to plot data on maps and all works fine till we move towards adding a favorite. Somehow we are not able to add one.

We checked the console and found the error mentioned in the attached text file. We did check on the DHIS2 demo instance and it works fine there. Any help on how this can be resolved will be appreciated.

Following are the version and build details:

Version:

2.25

Build revision:

04a7fe7

Build date:

2016-11-23 06:37

Regards

Saurabh


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Dear All,

We are using:

Version:
2.25
Build revision:
8ab22be
Build date:
2017-01-17 04:01

I noticed the same problem with users with ‘Authority’ : ‘ALL’.

We solved it by adding the ‘Authority’ : ‘See GIS Module’.

I have not been able to test this with the demo.

But I was still unable to Rename favourites I noticed that when trying to update through the interface a PUT request is sent and the server respond with:

Status Code:
500 Internal Server Error
If I make ‘manually’ the request with the PATCH method and the payload {“name”:“mynewname”} (as it is currently implemented in the demo) it works all fine.

I hope this helps.

Bruno Raimbault
HIMS Data Technician
Projects & IT - MSF-E
mail: bruno.raimbault@barcelona.msf.org

···

2016-12-13 2:36 GMT+01:00 Saurabh saurabh.leekha87@gmail.com:

Thanks Lars!

Will do the needful and share results accordingly.

Regards

Saurabh

On Tue, Dec 13, 2016 at 12:21 AM Lars Helge Øverland lars@dhis2.org wrote:

Hi Saurabh,

I’ve been looking into this but not able to reproduce. Could you try again with the very latest 2.25? Could you please give us access privately to a database dump where this happens?

regards,

Lars


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

On Wed, Nov 23, 2016 at 1:42 PM, Saurabh saurabh.leekha87@gmail.com wrote:

Hi Devs

We have configured DHIS2 GIS application via the GML import process. We are able to plot data on maps and all works fine till we move towards adding a favorite. Somehow we are not able to add one.

We checked the console and found the error mentioned in the attached text file. We did check on the DHIS2 demo instance and it works fine there. Any help on how this can be resolved will be appreciated.

Following are the version and build details:

Version:

2.25

Build revision:

04a7fe7

Build date:

2016-11-23 06:37

Regards

Saurabh


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org