certat / do-portal

This project is in maintenance mode and will only receive bug fixes, but no new features. A new version of this software is being developed.
5 stars 5 forks source link

Error 500 upon login after with demodata setup #117

Closed ghost closed 4 years ago

ghost commented 4 years ago

A user reported that he had to change line 600 in app/models.py from:

https://github.com/certat/do-portal/blob/532dab952d9e4f09ae99826b0b9138a523fcd613/backend/app/models.py#L600

to

    self._org_ids = [org.organization.id [lookup host] for org in orgs_admins if org.organization ]

In order to get rid of error 500 upon login. Setup with docker as documented. Branch master.

Can't try to reproduce at the moment because of #116

MarkHofstetter commented 4 years ago

could you please provide the error report from the user?

ghost commented 4 years ago

This is the stacktrace which I got:

screenshot

MarkHofstetter commented 4 years ago

testing on master - the fix seems rather mysterious to me

MarkHofstetter commented 4 years ago

tried and could not reproduce