Industrial-Parasite / issues

A repo for reporting issues with Industrial Parasite Apps
0 stars 0 forks source link

[BUG] Artists Can be Added to a Track Twice. #64

Closed Klastic closed 1 week ago

Klastic commented 1 week ago

Describe the Bug

There is a bug in the track editing system where an artist can be added to a track multiple times. The system currently does not check for duplicate entries, allowing the same artist to be included in the artist array for a track more than once. This can lead to data redundancy and potential issues with track metadata accuracy.

Steps to Reproduce

  1. Go to the track creation or editing page.
  2. Add an artist to the track.
  3. Attempt to add the same artist again to the same track.
  4. Observe that the system allows the duplicate artist entry without any warnings or errors.

Expected Behavior

The system should automatically check for duplicates when an artist is added to a track. If the artist is already included in the track's artist array, the system should either prevent the addition or alert the user that the artist has already been added.

Actual Behavior

The system currently allows an artist to be added multiple times to the same track without any checks for duplicates, leading to unnecessary redundancy and possible confusion during track management.

Environment

Suggested Actions

Additional Context

Preventing duplicate artist entries is essential for maintaining clean, accurate track metadata. This fix will improve the integrity of data on the platform and enhance the user experience by preventing errors in track composition.

Klastic commented 1 week ago

fixed in 59e989e.