Skip to content

[bug] Edit Metadata on a season or episode offers fields it doesn't save #3583

Closed

Description

@Rhainland

What happened

Edit Metadata on a season or episode offers fields those rows don't store, and saving one discards the value without an error. The API answers 200, the dialog closes, and the next time it opens the field is empty.

Field Season Episode
Sort Title Dropped Dropped
Original Title Dropped Dropped
Tagline Dropped Dropped
Content Rating Dropped Dropped
External IDs (IMDb, TMDB, TVDB) Dropped Saved

An admin who types into one of these fields has no way to tell the edit was lost.

Steps to reproduce

  1. As an admin, open a season or episode and choose ⋮ → Manage → Edit Metadata.
  2. Enter a value in Tagline and select Save Changes.
  3. Open Edit Metadata again. Tagline is empty.
  4. On a season, do the same with an ID on the External IDs tab.

Expected behavior

The dialog offers only fields the item can store. A value an admin saves is kept, or the save fails with an error.

Silo version / commit

main at 6e8c68d

Deployment

Local dev build

Area

Web app

Clients affected

Web

Client app and device

Web app in headless Chromium

Media and playback details

n/a

Diagnostics report reference

n/a

Relevant logs

n/a

Technical notes

The seasons and episodes tables have no column for the dropped fields, and seasons has none for external IDs. SeasonRepository.UpdateMetadata and EpisodeRepository.UpdateMetadata skip those members of the update, so PATCH /api/v2/admin/items/{id}/metadata succeeds without storing them. EditMetadataDialog.tsx renders the fields for every item type, and its SECTIONS list includes External IDs for seasons.

Found while working on #3376, which locks the season and episode fields that are stored. That work stops these fields from creating locks but leaves them in the dialog.

AI harness

Claude Code

AI tool(s)

Claude Code (Bash, file reads), GitHub CLI

AI model(s)

Claude Opus 5.5 (claude-opus-5-5)

AI involvement

  • No AI used
  • Human-written, AI-reviewed
  • AI-assisted
  • Fully AI-generated, human verified

Claude Code found this while implementing #3376 and drafted this report at the maintainer's direction. It confirmed the table above with PATCH and GET requests on a local test build based on the commit above, and from the repository code. The steps were not walked by hand in the dialog.

Independent or adversarial review

n/a

Confirmations

  • I searched open and recently closed issues and pull requests, and this is not already reported
  • I reproduced this myself on a real deployment (a local test build; see AI involvement)
  • Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above

Activity

  1. added
    bug
    priority: P2
    on Nov 5, 2026
  2. Rhainland commented on Nov 10, 2026

    @Rhainland
    ContributorAuthor

    Reproduced on origin/main at 51b1e0a: on a synthetic show, a Tagline saved through Edit Metadata on a season and on an episode returned 200 and was empty when the dialog reopened. A TVDB ID saved on the season was dropped the same way; the episode kept its TVDB ID.

    Cause: the dialog showed Sort Title, Original Title, Tagline and Content Rating for every item type, and the External IDs tab for seasons, but season and episode rows have no columns for them, so the server ignores those edits.

    Fix in #3938: seasons and episodes no longer offer those four fields, and seasons no longer offer External IDs. Checked on a local build of the fix: the same steps show only fields the row stores, and an episode's TVDB ID still saves. The component test checks which fields and tabs a season and an episode get.

    AI disclosure: reproduced and fixed by Claude Code (claude-opus-5-5) at the maintainer's direction.

  3. added a commit that references this issue on Nov 11, 2026
    87db70f
  4. Rhainland commented on Nov 11, 2026

    @Rhainland
    ContributorAuthor

    Update: #3938 now stores these fields instead of hiding them. Seasons and episodes keep a saved sort title, original title and tagline, and seasons keep their IMDb, TMDB and TVDB IDs. Content Rating stays a series field, because the series' rating decides age limits, so Edit Metadata no longer offers it on seasons and episodes. An Identify that replaces the show empties the new fields, as it does the locked ones.

    Checked on a local build: on main at 4a9e527, the saved values were empty when the dialog reopened. On the branch, against the same database, every value was kept.

    AI disclosure: changed by Claude Code (claude-opus-5-5) at the maintainer's direction.

  5. added a commit that references this issue on Nov 14, 2026
    89ac1aa
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

    bugpriority: P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions