Re: [Dhis2-devs] Problem to open Settings app after upgrade

2017-08-11 Thread Elmarie Claasen
Hi Calle,



Yes thanks that was the problem. There seem to be a check between 2.24 and
2.25 for invalid UIDs and then System Settings does not open.

It would be really useful if there was a integrity error to show invalid
UIDs because it was a bit of a search for days to find the cause.





Regards,



*Elmarie Claasen*

[image: Hisp logo]

Project Manager

Health Information Systems Program

Tel:  041-367 1027

Cell: 082 374 2209

E-mail: elma...@hisp.org

Skype:  elmarie.claasen52



*From:* Calle Hedberg [mailto:calle.hedb...@gmail.com]
*Sent:* Friday, August 11, 2017 3:46 PM
*To:* Nicolay Ramm <nico...@dhis2.org>
*Cc:* Elmarie Claasen <elma...@hisp.org>; dhis2-devs <
dhis2-devs@lists.launchpad.net>
*Subject:* Re: [Dhis2-devs] Problem to open Settings app after upgrade



Hi



We found the problem yesterday - one UID in the UserRole table had only 10
characters.



Regards

Calle



On 11 August 2017 at 15:44, Nicolay Ramm <nico...@dhis2.org> wrote:

Hi Elmarie,



I agree this does seem like a database error. I can't really tell where the
problem is from this error message, but as a starting point you might check
the following API endpoints for invalid data:



dataElementGroups

indicatorGroups

organisationUnits

organisationUnitLevels

userGroups

userRoles



Hope this helps.





Best regards,




Nicolay Ramm

Front end developer, DHIS 2

University of Oslo

https://www.dhis2.org



On Thu, Aug 10, 2017 at 7:57 PM, Elmarie Claasen <elma...@hisp.org> wrote:

Hi all,



We have an problem to open the System Settings app after upgrade to 2.27.



There is no error in the log files and the only error in browser console
is:



Uncaught (in promise) Error: Can not add a Model without id to a
ModelCollection

at o (utils.js:22)

at ModelCollection.js:47

at Array.forEach ()

at s (ModelCollection.js:45)

at new e (ModelCollection.js:100)

at Function.value (ModelCollection.js:263)

at ModelDefinition.js:373

at 



We would really appreciate assistance with the cause of this – 2 instances
now that has this problem and no matter what you do to replace wars etc we
unable to fix it which seems to point to a database error but we don’t know
where to start looking as nothing obvious stands out.



Regards,



*Elmarie Claasen*

[image: Hisp logo]

Project Manager

Health Information Systems Program

Tel:  041-367 1027

Cell: 082 374 2209

E-mail: elma...@hisp.org

Skype:  elmarie.claasen52





*This message and any attachments are subject to a disclaimer published at
http://www.hisp.org/policies.html#comms_disclaimer
<http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the
disclaimer before opening any attachment or taking any other action in
terms of this electronic transmission.  If you cannot access the
disclaimer, kindly send an email to disclai...@hisp.org
<disclai...@hisp.org> and a copy will be provided to you. By replying to
this e-mail or opening any attachment you agree to be bound by the
provisions of the disclaimer.*



___
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





-- 

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***

-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
<http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclai...@hisp.org 
<disclai...@hisp.org> and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*
___
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


Re: [Dhis2-devs] Problem to open Settings app after upgrade

2017-08-11 Thread Calle Hedberg
Hi

We found the problem yesterday - one UID in the UserRole table had only 10
characters.

Regards
Calle

On 11 August 2017 at 15:44, Nicolay Ramm  wrote:

> Hi Elmarie,
>
> I agree this does seem like a database error. I can't really tell where
> the problem is from this error message, but as a starting point you might
> check the following API endpoints for invalid data:
>
> dataElementGroups
> indicatorGroups
> organisationUnits
> organisationUnitLevels
> userGroups
> userRoles
>
> Hope this helps.
>
>
> Best regards,
>
>
> Nicolay Ramm
> Front end developer, DHIS 2
> University of Oslo
> https://www.dhis2.org
>
> On Thu, Aug 10, 2017 at 7:57 PM, Elmarie Claasen  wrote:
>
>> Hi all,
>>
>>
>>
>> We have an problem to open the System Settings app after upgrade to 2.27.
>>
>>
>>
>> There is no error in the log files and the only error in browser console
>> is:
>>
>>
>>
>> Uncaught (in promise) Error: Can not add a Model without id to a
>> ModelCollection
>>
>> at o (utils.js:22)
>>
>> at ModelCollection.js:47
>>
>> at Array.forEach ()
>>
>> at s (ModelCollection.js:45)
>>
>> at new e (ModelCollection.js:100)
>>
>> at Function.value (ModelCollection.js:263)
>>
>> at ModelDefinition.js:373
>>
>> at 
>>
>>
>>
>> We would really appreciate assistance with the cause of this – 2
>> instances now that has this problem and no matter what you do to replace
>> wars etc we unable to fix it which seems to point to a database error but
>> we don’t know where to start looking as nothing obvious stands out.
>>
>>
>>
>> Regards,
>>
>>
>>
>> *Elmarie Claasen*
>>
>> [image: Hisp logo]
>>
>> Project Manager
>>
>> Health Information Systems Program
>>
>> Tel:  041-367 1027
>>
>> Cell: 082 374 2209
>>
>> E-mail: elma...@hisp.org
>>
>> Skype:  elmarie.claasen52
>>
>>
>>
>> *This message and any attachments are subject to a disclaimer published
>> at http://www.hisp.org/policies.html#comms_disclaimer
>> .  Please read the
>> disclaimer before opening any attachment or taking any other action in
>> terms of this electronic transmission.  If you cannot access the
>> disclaimer, kindly send an email to disclai...@hisp.org
>>  and a copy will be provided to you. By replying to
>> this e-mail or opening any attachment you agree to be bound by the
>> provisions of the disclaimer.*
>>
>> ___
>> 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
>
>


-- 

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***
___
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


Re: [Dhis2-devs] Problem to open Settings app after upgrade

2017-08-11 Thread Nicolay Ramm
Hi Elmarie,

I agree this does seem like a database error. I can't really tell where the
problem is from this error message, but as a starting point you might check
the following API endpoints for invalid data:

dataElementGroups
indicatorGroups
organisationUnits
organisationUnitLevels
userGroups
userRoles

Hope this helps.


Best regards,


Nicolay Ramm
Front end developer, DHIS 2
University of Oslo
https://www.dhis2.org

On Thu, Aug 10, 2017 at 7:57 PM, Elmarie Claasen  wrote:

> Hi all,
>
>
>
> We have an problem to open the System Settings app after upgrade to 2.27.
>
>
>
> There is no error in the log files and the only error in browser console
> is:
>
>
>
> Uncaught (in promise) Error: Can not add a Model without id to a
> ModelCollection
>
> at o (utils.js:22)
>
> at ModelCollection.js:47
>
> at Array.forEach ()
>
> at s (ModelCollection.js:45)
>
> at new e (ModelCollection.js:100)
>
> at Function.value (ModelCollection.js:263)
>
> at ModelDefinition.js:373
>
> at 
>
>
>
> We would really appreciate assistance with the cause of this – 2 instances
> now that has this problem and no matter what you do to replace wars etc we
> unable to fix it which seems to point to a database error but we don’t know
> where to start looking as nothing obvious stands out.
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Program
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: elma...@hisp.org
>
> Skype:  elmarie.claasen52
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> .  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
>  and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
>
> ___
> 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


[Dhis2-devs] Problem to open Settings app after upgrade

2017-08-10 Thread Elmarie Claasen
Hi all,



We have an problem to open the System Settings app after upgrade to 2.27.



There is no error in the log files and the only error in browser console
is:



Uncaught (in promise) Error: Can not add a Model without id to a
ModelCollection

at o (utils.js:22)

at ModelCollection.js:47

at Array.forEach ()

at s (ModelCollection.js:45)

at new e (ModelCollection.js:100)

at Function.value (ModelCollection.js:263)

at ModelDefinition.js:373

at 



We would really appreciate assistance with the cause of this – 2 instances
now that has this problem and no matter what you do to replace wars etc we
unable to fix it which seems to point to a database error but we don’t know
where to start looking as nothing obvious stands out.



Regards,



*Elmarie Claasen*

[image: Hisp logo]

Project Manager

Health Information Systems Program

Tel:  041-367 1027

Cell: 082 374 2209

E-mail: elma...@hisp.org

Skype:  elmarie.claasen52

-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclai...@hisp.org 
 and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*
___
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