Skip to content

Keep associations to nodes outside the framework when saving from the… - #53

Merged
alail-ims merged 1 commit into
mainfrom
bugfix/PR52
Oct 22, 2026
Merged

alail-ims merged 1 commit into
mainfrom
bugfix/PR52

Conversation

@alail-ims

Copy link
Copy Markdown
Contributor

… editor (#49)

Saving from the editor dropped every association whose origin or destination is not in the framework, because the canvas graph has no node for it. That includes CASE 1.1 non-CASE targets (targetType ext:...) and imported links to items in other frameworks.

  • Add the associations the graph can't show back on save (withOffCanvasAssociations), and to the fork-detection baseline
  • Carry node targetType and title through load and save; send non-CASE nodes back unchanged (no UUID coercion, no URI rewrite)
  • CFItem.toJSON('1.0') strips targetType from a copy instead of the stored entity

… editor (#49)

Saving from the editor dropped every association whose origin or
destination is not in the framework, because the canvas graph has no node
for it. That includes CASE 1.1 non-CASE targets (targetType ext:...) and
imported links to items in other frameworks.

- Add the associations the graph can't show back on save
  (withOffCanvasAssociations), and to the fork-detection baseline
- Carry node targetType and title through load and save; send non-CASE
  nodes back unchanged (no UUID coercion, no URI rewrite)
- CFItem.toJSON('1.0') strips targetType from a copy instead of the
  stored entity
@alail-ims
alail-ims merged commit d2a7bd5 into main Oct 22, 2026
3 checks passed
@alail-ims
alail-ims deleted the bugfix/PR52 branch October 22, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant