8000 Editing a collection entry unlinks it from its Species and detaches its CARES registration · Issue #454 · jra3/mulm · GitHub
[go: up one dir, main page]

Skip to content

Editing a collection entry unlinks it from its Species and detaches its CARES registration #454

Closed

Description

@jra3

Every save from the collection edit dialog sets group_id = NULL.

Cause. collection-edit.pug always renders and posts common_name and scientific_name. updateCollectionEntry (src/db/collection.ts:241) treats either field being present as "convert to a custom entry" and nulls group_id.

Effect. Change only the notes or acquired date on a catalogue-linked entry and it becomes free text. It drops off the Species' keeper count, and a CARES registration on the row is no longer tied to a CARES Species.

Fix. Only null group_id when a name actually changed from the stored value, or stop posting names for linked entries (they are relinked through the link dialog). Add a route or DB test: edit notes on a linked entry, and group_id is unchanged.

Found in the 2026-09-29 site inventory.

Activity

  1. added
    bugSomething isn't working
    priority:highHigh priority - should be addressed soon
    ready-for-agentFully specified, ready for an AFK agent
    on Sep 30, 2026
  2. added a commit that references this issue on Oct 1, 2026
    33b9bb8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:highHigh priority - should be addressed soonready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0