overture-stack / lyric

GNU Affero General Public License v3.0
0 stars 0 forks source link

BUG :bug: - Upload Submission is not updating current Submission #59

Closed leoraba closed 2 months ago

leoraba commented 3 months ago

Description

Issue found on /submission/category/{categoryId}/upload endpoint When there's an OPEN/VALID/INVALID Active Submission and we upload a second file on bellow endpoint, it creates a new Active Submission and not merging current Active Submission.

Expected Behaviour

Merge new file with the current Active Submission. Resulting in a single Active Submission per user.

Actual Behaviour

Creates a new Active Submission. Resulting a multiple Active Submissions per user.

Buwujiu commented 2 months ago

Tested in Dev, working as expected!