koel icon indicating copy to clipboard operation
koel copied to clipboard

[Bug]: Updating an artist's name to name should take you to the new ID

Open ShetlandJ opened this issue 1 year ago • 1 comments

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

  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:

ShetlandJ avatar Oct 12 '24 12:10 ShetlandJ

FYI I am happy to try to fix this.

ShetlandJ avatar Oct 12 '24 12:10 ShetlandJ