openlibhums / openlibhums/back_content

Incorrect Redirect for Delete Author

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
0
Forks
5
PR merge metrics
No merged PRs in 30d

Description

When clicking to delete an author, redirects to normal submission->authors page, rather than back_content plugin. Seems to stem from using delete_author function in submission/views.py (called in templates/back_content/article.html at lines 99-100), which ends with return redirect(reverse('submit_authors', kwargs={'article_id': article_id})).

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Inspect delete_author in submission/views.py and its call from templates/back_content/article.html at lines 99-100. Compare the current redirect to the back_content plugin flow, then verify that deleting an author returns to the back_content page rather than the normal submission authors page.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.