← Back to team overview

dhis2-devs team mailing list archive

Re: Program rules/program validation(?) issue in latest 2.25

 

Hi,

Yes, we are aware that programValidation end point is removed ... we just
have to remove a call to it.

Call to eventCaptureGridColumns is to check if the logged in user has saved
any column show/hide settings ... the 404 says there are no settings saved.

The 404 errors in both cases are harmless ... users should be able to
continue.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Apr 20, 2017 at 10:36 AM, Olav Poppe <olav.poppe@xxxxxx> wrote:

> Forgot to say that this in EC - TC works.
>
>
> 20. apr. 2017 kl. 09.53 skrev Olav Poppe <olav.poppe@xxxxxx>:
>
> Hi devs,
> after upgrading to the latest 2.25 (build rev 1575b67) from an earlier
> 2.25 version (build rev 210eb29), program rules have stopped working. The
> only issues I can see in the console and tomcat log is a failed call to
> /api/programValidations:
>
> In catalina.out:
> WARNING: No mapping found for HTTP request with URI [/stable/api/programValidations.json]
> in DispatcherServlet with name ‘webapi'
>
> In browser console:
> GET http://localhost:8080/stable/api/programValidations.json?
> paging=false&fields=id&filter=program.id:in:[jo4akTBhEqq]&_=1492674277324
> 404 (Not Found)
>
> Looks like the programValidations.json was removed in this commit:
> https://github.com/dhis2/dhis2-core/commit/9c6c4d0385064863e730827b621c53
> 357ff555b7
> There were no programValidations in the first place in this database
> (previous and working 2.25 version returns an empty result), but it is the
> only error I get.
>
>
> Well, there is also this error, but this one seems like a permanent
> feature:
> *404 (Not Found) -
> http://localhost:8080/stable/api/userDataStore/gridColumns/eventCaptureGridColumns
> <http://localhost:8080/stable/api/userDataStore/gridColumns/eventCaptureGridColumns> *
>
> Olav
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
>
>

Follow ups

References