seanmorley15/AdventureLog

[BUG] Editing a location removes it from all the collections

Opened this issue ยท 0 comments

๐Ÿ›‘ 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:

  1. Add a location to a collection
  2. Change anything in the location (description/name/etc.) and save the changes
  3. The payload for the PATCH request to api/locations/{id} contains collections as an empty array
  4. 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. ๐Ÿ™Œ