numbas / numbas/editor

add_member fails after new install with ALLOW_REGISTRATION=FALSE

Open
#497 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
60
Forks
62
PR merge metrics
No merged PRs in 30d

Description

After a new Ubuntu server install:
While ALLOW_REGISTRATION = False
When trying to add a member to a project...

add_member fails indicating debug message:

Request Method: | POST
-- | --
http://editor4.vmath.club/project/2/settings/add_member
2.2.10
NoReverseMatch
Reverse for 'registration_register' not found. 'registration_register' is not a valid view function or pattern name.
/opt/python/numbas-editor/lib/python3.6/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 673
/opt/python/numbas-editor/bin/python
3.6.9
['/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/opt/python/numbas-editor/lib/python3.6/site-packages', '/srv/www/numbas_editor', '/srv/numbas/compiler/bin']

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the POST handler for /project/2/settings/add_member and the reference to the missing registration_register URL in the Django traceback. Reproduce the failure on a fresh install with ALLOW_REGISTRATION=False; done means adding a project member succeeds without the NoReverseMatch error.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.