OpenWISP

[bug] Server Error 500

Setup the Repository: https://github.com/openwisp/openwisp-users/

Follow the steps below after setup:

  • first install this module in development mode and see that it runs without any problems
  • create an organization. maybe called org1s
  • create a user. maybe called org1_user and add this user to this org1 organization
  • create the second organization maybe called org2. while creating this organization add org1_user to it as an organization user. you should see error 500. with this error, try to play around with the code, you might start with the admin.py . i think you should find something that will help you.

You should see an error:

When adding a new organization and selecting an organization user from a different organization server error 500 is recevied.

Expected: Form should indicate to user "please select user from same organization"

You task is to solve the issue.

Task tags

  • bug
  • coding

Students who completed this task

MTJ

Task type

  • code Code
close

2019