Dear Community,
After upgrading from 2.40.2.2 to 2.41.9
Analytics fails when a Text/Long Text data element with a category combo contains a value with the letter E, for example: 224E10000913 or 46E-1309013 (Aggregate/Dataset)
This is a serial number, but Analytics appears to interpret it as scientific notation and aborts with:
Processing aborted: skipped stage, failing item caused abort.
log:> ERROR: “46E-1309013” is out of range for type double precision
The issue does not occur in 2.40.2.2 and replacing E with another character allows Analytics to complete successfully.
I was also able to reproduce the same issue on Login app | DHIS2.
Is this expected behavior or bug.?
These steps demonstrate that the issue is triggered specifically by text values containing the letter E, which appear to be incorrectly parsed as scientific notation during analytics processing.
Since the behavior does not occur in version 2.40.2.2 and is reproducible on another DHIS2 instance, it strongly suggests a regression bug rather than expected behavior.
I have tried to reproduce faithfully the issue as you describe both on the latest development version of DHIS2 and on Login app | DHIS2. I used the attached dataset.
So, I see now that you triggered the analytics on the play server (which should be restricted actually) using the scheduler app. I had triggered it via the data administration app. It worked via the data administration app but not via the scheduler.
This is definitely a bug. We will get it fixed, but in the meantime, disable outliers (which you should probably due anyway) when generating analytics.