[BUG] Editing a location removes it from all the collections
Opened this issue ยท 0 comments
razvicm commented
๐ Note: Please search existing issues before filing a new one. This helps avoid duplicates and ensures we can address your concern efficiently!
First, thanks for the great app!
๐ Bug Description
Editing a location removes it from all the collections
๐ Steps to Reproduce
Steps to reproduce the behavior:
- Add a location to a collection
- Change anything in the location (description/name/etc.) and save the changes
- The payload for the PATCH request to api/locations/{id} contains collections as an empty array
- Location is removed from all Collections
โ Expected Behavior
Location is not removed
๐ธ Screenshots / Logs
- Attach screenshots if it helps explain the problem.
- If possible, include relevant log excerpts (be sure to remove sensitive info).
๐ณ Environment Details
Reproducible also on the demo site
๐ Additional Context
Anything else that might be useful (custom configuration, network setup, database version, etc.)?
Thank you for taking the time to report this issue! We appreciate your help in making AdventureLog better. Weโll look into it as soon as we can. ๐