mitre-attack / mitre-attack/attack-workbench-frontend

[BUG] "Group not found" error when updating reference—related objects of Relationships incorrect modified date

Open
#687 0 comments 0 reactions 1 assignee View on GitHub

@adpare is already working on this.

Since Sep 21, 2025.

bug
Dominant language
TypeScript
Stars
438
Forks
79
Avg merge
1d 21h
Merged PRs (30d)
3

Description

When updating a reference in the reference manager and clicking "apply patches and save," an " not found" snackbar appears. This happens because, when updating a reference on a Relationship object, the related source and target objects are also updated to mark them as "work in progress" (see Relationship.save()). A request is sent to the API to update the object using its STIX ID and a modified date set to now, rather than its original modified date. As a result, the backend can't find the group to update and shows the snackbar error.

Expected: Marking related objects as "work in progress" should use their original modified date, not a new one.

Related to #561

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.