forked from SuperteamDAO/earn
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
When duplicating a Bounty listing with a Fixed Payment type and Additional Prize, then converting it to a Project listing with a Range payment type, the system returns a 400 Error, preventing creation. This blocks Sponsors from efficiently reusing existing Bounty listings to create Projects, which is a key workflow for listing management.
Preconditions:
- User is registered as a Sponsor (https://nearn-app-staging.onrender.com/t/userqa/).
- A Bounty listing is created with Additional Prize for Fixed Payment type.
Steps To Reproduce
- Open the original Bounty listing.
- Duplicate the listing.
- Change the listing type from Bounty to Project.
- Change Payment Type from Fixed to Range.
- Configure a valid Range Prize.
- Attempt to create the Project listing.
Actual Result:
Failed Listing example - https://nearn-app-staging.onrender.com/dashboard/listings/project-submission/edit/
- The listing creation fails with HTTP 400 Error.
- Listing is not created, and no success message is shown.
Create.Listing.-.Duplicate.-.from.bounty.with.bonus.prize.reward.webm
Expected Result:
- Users should be able to duplicate a Bounty listing, change the type to Project, modify the reward type, and successfully create the new Project listing.
Special Notes / Possible Root Cause:
- Backend may be validating reward type inconsistently during duplication.
- Certain fields (Additional Prize / Range) might not be properly mapped between Bounty and Project types.
- The 400 error indicates a request validation failure, likely due to incompatible data being sent to the API.
Workarounds:
- Currently, no reliable workaround exists other than creating a Project listing from scratch.
Reproducibility Rate: Always (10/10)
Setup - OS - Browser - Environment
Environments Tested:
- Windows 11 (x64, 1366x768)
- Motorola G23 (Android 14, 1600 x 720)
- iPhone XR (iOS 17.5.1, 1792×828)
Browsers Tested:
- Chrome 140.0.7339.210
- Mozilla Firefox 142.0
- Safari
Environment: Staging
Resources & Additional Notes
No response
Priority
🟠 P1 : High
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo