Maintenance App validation problems with '%' character

Hi team,

We are using v2.23 (from branch on GitHub) and are encountering validation issues with the ‘%’ character in the maintenance app. This is applicable to all entities that have validation rules (i.e. DataElements, Categories etc.). The specific error is obfuscated in the JS console as a Minified exception. The issue is not replicable on our local dev environments which suggests it must be a minification issue.

Version: 2.23

Revision: 979a8e9952be410438563178f47d813f3bc0a60d

Maintenance App version: v23.0.2

This is also an issue on the latest stable demo at https://play.dhis2.org/demo where the validation error is shown incorrectly as “This field requires a unique value”. An example name to trigger the error is “Burns on 10% body area”.

Any ideas what may be causing this?

Cheers,

David Oh

Developer

ThoughtWorks

doh@thoughtworks.com

Hi David,

I can confirm your issue. Bug reported here: https://github.com/dhis2/maintenance-app/issues/239

We will look into it.

regards,

Lars

···

On Thu, Sep 15, 2016 at 4:22 PM, David Siang Fong Oh doh@thoughtworks.com wrote:

Hi team,

We are using v2.23 (from branch on GitHub) and are encountering validation issues with the ‘%’ character in the maintenance app. This is applicable to all entities that have validation rules (i.e. DataElements, Categories etc.). The specific error is obfuscated in the JS console as a Minified exception. The issue is not replicable on our local dev environments which suggests it must be a minification issue.

Version: 2.23

Revision: 979a8e9952be410438563178f47d813f3bc0a60d

Maintenance App version: v23.0.2

This is also an issue on the latest stable demo at https://play.dhis2.org/demo where the validation error is shown incorrectly as “This field requires a unique value”. An example name to trigger the error is “Burns on 10% body area”.

Any ideas what may be causing this?

Cheers,

David Oh

Developer

ThoughtWorks

doh@thoughtworks.com


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.

···

On Fri, Sep 16, 2016 at 12:32 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi David,

I can confirm your issue. Bug reported here: https://github.com/dhis2/maintenance-app/issues/239

We will look into it.

regards,

Lars

-doh

On Thu, Sep 15, 2016 at 4:22 PM, David Siang Fong Oh doh@thoughtworks.com wrote:

Hi team,

We are using v2.23 (from branch on GitHub) and are encountering validation issues with the ‘%’ character in the maintenance app. This is applicable to all entities that have validation rules (i.e. DataElements, Categories etc.). The specific error is obfuscated in the JS console as a Minified exception. The issue is not replicable on our local dev environments which suggests it must be a minification issue.

Version: 2.23

Revision: 979a8e9952be410438563178f47d813f3bc0a60d

Maintenance App version: v23.0.2

This is also an issue on the latest stable demo at https://play.dhis2.org/demo where the validation error is shown incorrectly as “This field requires a unique value”. An example name to trigger the error is “Burns on 10% body area”.

Any ideas what may be causing this?

Cheers,

David Oh

Developer

ThoughtWorks

doh@thoughtworks.com


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