← Back to team overview

dhis2-devs team mailing list archive

Re: Problem to open Settings app after upgrade

 

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: elmarie@xxxxxxxx

Skype:  elmarie.claasen52



*From:* Calle Hedberg [mailto:calle.hedberg@xxxxxxxxx]
*Sent:* Friday, August 11, 2017 3:46 PM
*To:* Nicolay Ramm <nicolay@xxxxxxxxx>
*Cc:* Elmarie Claasen <elmarie@xxxxxxxx>; dhis2-devs <
dhis2-devs@xxxxxxxxxxxxxxxxxxx>
*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 <nicolay@xxxxxxxxx> 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 <elmarie@xxxxxxxx> 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 (<anonymous>)

    at s (ModelCollection.js:45)

    at new e (ModelCollection.js:100)

    at Function.value (ModelCollection.js:263)

    at ModelDefinition.js:373

    at <anonymous>



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: elmarie@xxxxxxxx

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 disclaimer@xxxxxxxx
<disclaimer@xxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp




_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
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.hedberg@xxxxxxxxx

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 disclaimer@xxxxxxxx 
<disclaimer@xxxxxxxx> 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.*

PNG image


References