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

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/9c6c4d0385064863e730827b621c53357ff555b7

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 *

Olav

Forgot to say that this in EC - TC works.

···
  1. apr. 2017 kl. 09.53 skrev Olav Poppe olav.poppe@me.com:

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/9c6c4d0385064863e730827b621c53357ff555b7

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 *

Olav


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

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.

···

On Thu, Apr 20, 2017 at 10:36 AM, Olav Poppe olav.poppe@me.com wrote:

Forgot to say that this in EC - TC works.

  1. apr. 2017 kl. 09.53 skrev Olav Poppe olav.poppe@me.com:

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/9c6c4d0385064863e730827b621c53357ff555b7

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 *

Olav


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


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

Abyot A. Gizaw.

Senior Engineer, DHIS2

University of Oslo

http://www.dhis2.org

Thanks, Abyot.

If the 404 to programValidations is harmless as well, do you have any other idea of why program rules stop working when moving an instance from a 2.25 build from March 10 to a build from April 20? These are the only errors.

Olav

···

On Thu, Apr 20, 2017 at 10:36 AM, Olav Poppe olav.poppe@me.com wrote:

Forgot to say that this in EC - TC works.

  1. apr. 2017 kl. 09.53 skrev Olav Poppe olav.poppe@me.com:

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/9c6c4d0385064863e730827b621c53357ff555b7

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 *

Olav


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


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

Abyot A. Gizaw.

Senior Engineer, DHIS2

University of Oslo

http://www.dhis2.org

Not sure, but I can suspect one thing: may be the removal of program rule json object affected the rules engine… I will check on this.

···

On Thu, Apr 20, 2017 at 11:04 AM, Olav Poppe olav.poppe@me.com wrote:

Thanks, Abyot.

If the 404 to programValidations is harmless as well, do you have any other idea of why program rules stop working when moving an instance from a 2.25 build from March 10 to a build from April 20? These are the only errors.
Olav

  1. apr. 2017 kl. 10.58 skrev Abyot Asalefew Gizaw abyot@dhis2.org:

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

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@me.com wrote:

Forgot to say that this in EC - TC works.

  1. apr. 2017 kl. 09.53 skrev Olav Poppe olav.poppe@me.com:

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/9c6c4d0385064863e730827b621c53357ff555b7

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 *

Olav


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


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

Hi Olav and Abyot,

We’ve come across the same bug in the Tuesday build of 2.25 (build revision 41c0625, build date 2017-04-18 16:10) – program rules are failing to fire in Event Capture, without any errors in the console or logs.

I don’t think a Jira ticket’s been created for this yet, so I’ve added: https://jira.dhis2.org/browse/DHIS2-1459.

Cheers, Sam.

···

From: Dhis2-devs dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.launchpad.net on behalf of Abyot Asalefew Gizaw abyot@dhis2.org

Date: Thursday, 20 April 2017 at 10:12

To: Olav Poppe olav.poppe@me.com

Cc: Markus Bekken markus.bekken@abaris.no, DHIS2 Developers dhis2-devs@lists.launchpad.net

Subject: Re: [Dhis2-devs] Program rules/program validation(?) issue in latest 2.25

Not sure, but I can suspect one thing: may be the removal of program rule json object affected the rules engine… I will check on this.

Abyot A. Gizaw.

Senior Engineer, DHIS2

University of Oslo

http://www.dhis2.org

On Thu, Apr 20, 2017 at 11:04 AM, Olav Poppe olav.poppe@me.com wrote:

Thanks, Abyot.

If the 404 to programValidations is harmless as well, do you have any other idea of why program rules stop working when moving an instance from a 2.25 build from March 10 to a build from April 20? These are the only errors.

Olav

  1. apr. 2017 kl. 10.58 skrev Abyot Asalefew Gizaw abyot@dhis2.org:

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@me.com wrote:

Forgot to say that this in EC - TC works.

  1. apr. 2017 kl. 09.53 skrev Olav Poppe olav.poppe@me.com:

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/9c6c4d0385064863e730827b621c53357ff555b7

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
*

Olav


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


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

Hi all, Markus fixed another issue and it is all fine now in the latest build as far as I can tell.

Olav

···

20. apr. 2017 kl. 17.44 skrev Sam Johnson <samuel.johnson@qebo.co.uk>:

Hi Olav and Abyot,

We’ve come across the same bug in the Tuesday build of 2.25 (build revision 41c0625, build date 2017-04-18 16:10) – program rules are failing to fire in Event Capture, without any errors in the console or logs.

I don’t think a Jira ticket’s been created for this yet, so I’ve added: https://jira.dhis2.org/browse/DHIS2-1459\.

Cheers, Sam.

From: Dhis2-devs <dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.launchpad.net> on behalf of Abyot Asalefew Gizaw <abyot@dhis2.org>
Date: Thursday, 20 April 2017 at 10:12
To: Olav Poppe <olav.poppe@me.com>
Cc: Markus Bekken <markus.bekken@abaris.no>, DHIS2 Developers <dhis2-devs@lists.launchpad.net>
Subject: Re: [Dhis2-devs] Program rules/program validation(?) issue in latest 2.25

Not sure, but I can suspect one thing: may be the removal of program rule json object affected the rules engine... I will check on this.

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

On Thu, Apr 20, 2017 at 11:04 AM, Olav Poppe <olav.poppe@me.com <mailto:olav.poppe@me.com>> wrote:
Thanks, Abyot.

If the 404 to programValidations is harmless as well, do you have any other idea of why program rules stop working when moving an instance from a 2.25 build from March 10 to a build from April 20? These are the only errors.

Olav

20. apr. 2017 kl. 10.58 skrev Abyot Asalefew Gizaw <abyot@dhis2.org <mailto:abyot@dhis2.org>>:

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 <http://www.dhis2.org/&gt;

On Thu, Apr 20, 2017 at 10:36 AM, Olav Poppe <olav.poppe@me.com <mailto:olav.poppe@me.com>> wrote:
Forgot to say that this in EC - TC works.

20. apr. 2017 kl. 09.53 skrev Olav Poppe <olav.poppe@me.com <mailto:olav.poppe@me.com>>:

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 <http://localhost:8080/stable/api/programValidations.json?paging=false&fields=id&filter=program.id:in:[jo4akTBhEqq]&_=1492674277324&gt; 404 (Not Found)

Looks like the programValidations.json was removed in this commit:Remove ProgramValidation object (#610) · dhis2/dhis2-core@9c6c4d0 · GitHub
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

Olav
_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net <mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net <mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help