You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue with handling relationships of kind: Component and cardinality: many when working across different branches. The problem occurs when creating or editing nodes with such relationships in a branch, resulting in node not found errors or updates being applied to the wrong branch.
Expected Behavior
Nodes with relationships of kind: Component and cardinality: many should be correctly linked to their components in the branch context.
Modifications to nodes in a branch should remain within that branch and not affect the main branch.
On the main branch, create a "Test" node (e.g., "test1") with a relationship of kind: Component and cardinality: many (for example, tags or other components).
Add a related component (e.g., a "red" tag).
Switch to a new branch (e.g., "branch1").
Create a new "Test" node (e.g., "test2") and add a new related component (e.g., a "blue" tag) using the second-level form.
Issue: The new component (tag) is created, but when trying to associate it with "test2," the error "could not find node in database" appears.
On branch1, attempt to edit "test1" (from main) by adding another related component (e.g., "tag2" or another type of component from main).
Issue: The update is accepted, but instead of being applied to "branch1," it is incorrectly applied to the main branch.
Additional Information
The issue doesn't seem present with kind: Component and cardinality: one
The issue doesn't seem present with kind: Attribute and cardinality: one or cardinality: many
The text was updated successfully, but these errors were encountered:
Component
Frontend UI
Infrahub version
0.16.2
Current Behavior
There is an issue with handling relationships of kind:
Component
and cardinality:many
when working across different branches. The problem occurs when creating or editing nodes with such relationships in a branch, resulting in node not found errors or updates being applied to the wrong branch.Expected Behavior
Nodes with relationships of kind:
Component
and cardinality:many
should be correctly linked to their components in the branch context.Modifications to nodes in a branch should remain within that branch and not affect the main branch.
Steps to Reproduce
Using this schema :
Additional Information
The issue doesn't seem present with kind:
Component
and cardinality:one
The issue doesn't seem present with kind:
Attribute
and cardinality:one
or cardinality:many
The text was updated successfully, but these errors were encountered: