openlibhums / openlibhums/janeway

Repository: subject cannot be loaded/edited when there are editors associated

Open
#4,372 0 comments 0 reactions 1 assignee View on GitHub

@ajrbyers is already working on this.

Since Feb 6, 2025.

bug Repositories
Dominant language
Python
Stars
238
Forks
97
Avg merge
9d 1h
Merged PRs (30d)
8

Description

Describe the bug
In Janeway Repository, if editors are associated with a subject, the subject page returns an error and will not load.

Janeway version
1.5.6

To Reproduce
Steps to reproduce the behavior:

  1. Log in as an admin/super user and navigate to the Subjects admin page (/repository/manager/subjects/)
  2. Add a new subject, select a user to serve as editor, then click Save
    image
  3. Click on the name of the new subject to view its page
    image
  4. See error: Gateway Timeout; in Sentry:

Error rendering hook press_admin_nav_block: No module named 'django.core.urlresolvers'


[edit] I thought that removing the editors in the admin panel enabled the subject to be edited, but I'm not able to access it today. Perhaps it's the huge list of potential editors that results in this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.