Public bug reported:
Import on 2.19 and 2.20 fails for datasets with this error "Validation
Violations: [ValidationViolation{property='version', message='Invalid
range for value [0, 255], value is 422', value=422}]"
2.20 Build version:19682
2.19 build revision:19258
No error is logged in tomcat
Hi Lorill
This is known issue with older versions of DHIS 2 (it was a serious bug in
hibernate, which we use as our ORM layer).
Jason created a script that will add them back (but please know that there
might be conflicts, as uniqueness constraints are added)
I'm adding him in, as I don't have a
Hi Sam
Sorry, but this ended up in the spam folder. Can you tell me which form in
data entry you can reproduce this on? I just tried, and was able to easily
enter data using the admin user (which does not have ALL)
--
Morten
On Fri, Jul 17, 2015 at 3:03 PM, Sam Kasozi wrote:
> Dear all,
>
> Th
Hi
The java class exceptions which are not useful, is exactly what we need
to figure out these kinds of bugs.. can you please give us the complete
stack trace?
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad
Hi
Could you please share the exception log? I need to know what is not being
caught
--
Morten
On Wed, Jul 22, 2015 at 5:45 AM, Lorill Crees wrote:
> Hi,
>
> If attempting to create a data element with a non-unique shortname via the
> Web API in 2.20 build 19682, an exception is thrown instead
Dear Sam,
Check the sharing settings on the datasets!!!
Alex
On Thu, Jul 23, 2015 at 6:11 PM, Morten Olav Hansen
wrote:
> Hi Sam
>
> Sorry, but this ended up in the spam folder. Can you tell me which form in
> data entry you can reproduce this on? I just tried, and was able to easily
> enter
Hi Morten,
Stack trace below.
Thanks,
Lorill
| Error 2015-07-23 10:45:48,415 [http-bio-8080-exec-16] ERROR
api.ApiService - Unexpected failure: HTTP/1.1 500 Internal Server Error,
resp: groovyx.net.http.HttpResponseDecorator@3cdd5162, json: Apache
Tomcat/8.0.21 - Error reportH1
{font-family:Ta
Ok, the issue is that its a duplicate shortname.. I will add an exception
catcher for the exception
--
Morten
On Fri, Jul 24, 2015 at 12:51 AM, Lorill Crees wrote:
> Hi Morten,
>
> Stack trace below.
>
> Thanks,
>
> Lorill
>
> | Error 2015-07-23 10:45:48,415 [http-bio-8080-exec-16] ERROR
> api.
Excellent - thanks Morten. Can this please be included in 2.20?
On Thu, Jul 23, 2015 at 11:03 AM, Morten Olav Hansen
wrote:
> Ok, the issue is that its a duplicate shortname.. I will add an exception
> catcher for the exception
>
> --
> Morten
>
> On Fri, Jul 24, 2015 at 12:51 AM, Lorill Crees
Yes, I will backport the fix.. that said, me and most of the developer team
is on a 2-3 week hiatus
--
Morten
On Fri, Jul 24, 2015 at 1:06 AM, Lorill Crees wrote:
> Excellent - thanks Morten. Can this please be included in 2.20?
>
> On Thu, Jul 23, 2015 at 11:03 AM, Morten Olav Hansen
> wrote:
Thanks Morten, looking forward to getting the script as that will save a
lot of manual effort.
Perhaps the script could be included or referenced in the upgrade notes
here?
https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-219.sql
Also wondering - we're using the latest DHIS
No, hibernate can't make those can't of changes automatically, which is why
Jason created a more manual SQL script for it, hibernate is good at adding
columns etc, but can't change the constraints of an already existing column.
I agree it should be added on the upgrade page, but its been there sin
Hi Lorill,
You can try and execute this script (at your own risk against a
non-production database) and see if it solves the issues you are having.
As Morten points out, there is no guarantee it will work, since you have
been operating on a database without the constraints. But it may give you
an
If you see duplicate UIDs, you can get new fresh ones at:
/api/system/uid?n=100
--
Morten
On Fri, Jul 24, 2015 at 2:14 AM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:
> Hi Lorill,
>
> You can try and execute this script (at your own risk against a
> non-production database) and see if
Thanks Morten.
On Thu, Jul 23, 2015 at 12:36 PM, Morten Olav Hansen
wrote:
> If you see duplicate UIDs, you can get new fresh ones at:
> /api/system/uid?n=100
>
> --
> Morten
>
> On Fri, Jul 24, 2015 at 2:14 AM, Jason Pickering <
> jason.p.picker...@gmail.com> wrote:
>
>> Hi Lorill,
>>
>> You ca
revno: 19687
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Fri 2015-07-24 03:03:12 +0700
message:
upgrade to spring security 3.2.8
modified:
dhis-2/pom.xml
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2
I know that openmrs makes use of liquibase for managing database diffs
: http://www.liquibase.org/
It might be worth considering whether this approach would be useful
for us in place of our "hibernate ddl + extra sql upgrade script" .
Student project?
On 23 July 2015 at 20:36, Morten Olav Hansen
17 matches
Mail list logo