[GH-ISSUE #1847] [Bug]: Updating an artist's name to name should take you to the new ID #1013

Open
opened 2026-02-26 02:34:56 +03:00 by kerem · 1 comment
Owner

Originally created by @ShetlandJ on GitHub (Oct 12, 2024).
Original GitHub issue: https://github.com/koel/koel/issues/1847

Originally assigned to: @phanan on GitHub.

Read the Troubleshooting guide.

  • I have read and followed the Troubleshooting guide

Reproduction steps

  1. Add track:

Screenshot 2024-10-12 at 13 37 47

  1. Update artist name:

Screenshot 2024-10-12 at 13 38 18

  1. Observe that the page title still says Unknown Artist, even those we can see the artist below

  2. Refresh the page:

Screenshot 2024-10-12 at 13 38 34

  1. Observe model error.

Expected behavior

When we update an artists name, we need to move the user to the new ID, then all these problems will be solved.

Actual behavior

The user stays on the Unknown Artist page id (in the screenshot example, 30, when the updated artist now lives at id 31.

Logs

No response

Koel version

7.1.0

How did you install Koel?

Compiled from source

Additional information

  • Server OS:
  • PHP version:
  • Database:
  • Node version:
  • Browser & device:
  • Additional context:
Originally created by @ShetlandJ on GitHub (Oct 12, 2024). Original GitHub issue: https://github.com/koel/koel/issues/1847 Originally assigned to: @phanan on GitHub. ### Read the Troubleshooting guide. - [X] I have read and followed the Troubleshooting guide ### Reproduction steps 1. Add track: ![Screenshot 2024-10-12 at 13 37 47](https://github.com/user-attachments/assets/10d54ba1-5907-4025-b515-3b5f6fbd78c2) 2. Update artist name: ![Screenshot 2024-10-12 at 13 38 18](https://github.com/user-attachments/assets/e9ffec7f-b91a-4e6f-b416-5f48c800cb50) 3. Observe that the page title still says Unknown Artist, even those we can see the artist below 4. Refresh the page: ![Screenshot 2024-10-12 at 13 38 34](https://github.com/user-attachments/assets/b690d23c-e538-4609-b645-e3a0d67b453b) 5. Observe model error. ### Expected behavior When we update an artists name, we need to move the user to the new ID, then all these problems will be solved. ### Actual behavior The user stays on the Unknown Artist page id (in the screenshot example, 30, when the updated artist now lives at id 31. ### Logs _No response_ ### Koel version 7.1.0 ### How did you install Koel? Compiled from source ### Additional information - **Server OS**: - **PHP version**: - **Database**: - **Node version**: - **Browser & device**: - **Additional context**:
Author
Owner

@ShetlandJ commented on GitHub (Oct 12, 2024):

FYI I am happy to try to fix this.

<!-- gh-comment-id:2408551108 --> @ShetlandJ commented on GitHub (Oct 12, 2024): FYI I am happy to try to fix this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1013
No description provided.