Skip to content

Images propagate up to parent when child is updated #496

Description

@bwkimmel

Description

When updating anything about a child term and saving those changes, if the child term has an image and the parent does not, the child term's image gets applied to the parent.

To Reproduce

Steps to reproduce the behavior, e.g.:

  • Create a term "parent"
  • Create a child term "child" with "parent" as it's parent.
  • Add an image to the child term (this will get applied to both terms when saved, which is arguably not the wrong thing to do here).
  • Navigate to the "parent" and delete the image.
  • Navigate to the "child" term from there click on the link to "parent" (which will cause child to be saved before navigating away).
  • Parent now has the child term's image reapplied.

Screenshots

If it will be helpful, add screenshots.

Extra software info, if not already included in the Description:

  • OS (e.g., iOS, windows): Arch Linux under WSL2 (Windows 11)
  • Browser (e.g., chrome, safari): Brave
  • How you've installed Lute (Docker, python, source): Source
  • Version: 3.5.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedFixed in develop or master, to be launched.tweakAdjustment to the code -- not a new feature, just minor mods/tweaks

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions