internetarchive / internetarchive/openlibrary

Drag and drop reassignment sometimes 403s

Open
#13,428 5 comments 0 reactions 1 assignee Claimed by @mekarpeles View on GitHub
Affects: Librarians Affects: UI Lead: @cdrini Module: Integrated Librarian Environment (ILE Bar) Module: JavaScript Module: Modsecurity Needs: Breakdown Priority: 1 Type: Bug
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

### Problem

Dragging a work to a different author shows a success message, but does not modify the record. Console shows errors, however.

Image

### Reproducing the bug

1. Go to ...https://openlibrary.org/authors/OL37113A/Anne_Murray
2. Do ... Try to drag [Anne Murray: What a Wonderful World : Includes a Selection of Inspirational Classics on Compact Disc](https://openlibrary.org/works/OL527355W/Anne_Murray?edition=key%3A/books/OL8570938) to https://openlibrary.org/authors/OL6751184A/Anne_Murray

* Expected behavior: Author of the work should be updated to OL6751184A
* Actual behavior: No change to work.

### Context

- Browser (Chrome, Safari, Firefox, etc): Brave
- OS (Windows, Mac, etc): Mac
- Logged in (Y/N): y
- Environment (prod, dev, local): prod

### Breakdown

Implementation Details (for maintainers)

#### Requirements Checklist
* [ ]

#### Related files

*

#### Stakeholders

*


#### Instructions for Contributors

- Please [run these commands](https://docs.openlibrary.org/developers/tools/git.html#working-on-your-branch) to ensure your repository is up to date **before** [creating a new branch](https://docs.openlibrary.org/developers/tools/git.html#making-changes-and-creating-a-pull-request) to work on this issue and **each time after** pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.