Skip to content

Deleted classes in forms with "change selection" #4175

Description

@hauschke

Describe the bug
When editing entries via e.g. "Reviewer of" and changing the selected entity, the old connected entity loses all its class assigments.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a person's profile, switch to the "Service" tab.
  2. Add an article via "Reviewer of".
  3. Open the created article in a different browser tab.
  4. Go back to the person's profile.
  5. Edit the reviewed article.
  6. Change it to a different article.
  7. Open the first article that was created. All class assignments of the article are deleted. Not even owl:thing is kept.

Expected behavior
The not connected article should not be touched at all, only the connection to the reviewer should be deleted.

Screenshots

Image

Additional context
This behaviour seems to affect all forms. This is a deeper issue and most likely a blocker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions