Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove our custom EditingContextCrossReferenceAdapter #4134

Open
pcdavid opened this issue Oct 25, 2024 · 1 comment · May be fixed by #4135
Open

Remove our custom EditingContextCrossReferenceAdapter #4134

pcdavid opened this issue Oct 25, 2024 · 1 comment · May be fixed by #4135

Comments

@pcdavid
Copy link
Member

pcdavid commented Oct 25, 2024

It's not clear what it does (or more precisely, that what it does adds some value compared to EMF's default behavior).
When replacing it with EMF's standard ECrossReferenceAdapter I don't see any regression (at least all the integration tests pass).
Note that even in it's own EditingContextCrossReferenceAdapterTest, when not installing it in testMoveObject the test still passes.

It has at least one specific issue (#1400, though I can't reproduce it on master)

Note that we still need to install an ECrossReferenceAdapter because IncomingTreeDescriptionProvider needs fast inverse cross references lookup (SysON too).

pcdavid added a commit that referenced this issue Oct 25, 2024
@pcdavid pcdavid linked a pull request Oct 25, 2024 that will close this issue
39 tasks
@pcdavid pcdavid linked a pull request Oct 25, 2024 that will close this issue
39 tasks
pcdavid added a commit that referenced this issue Oct 25, 2024
@pcdavid pcdavid added this to the 2025.1.0 milestone Oct 28, 2024
@pcdavid
Copy link
Member Author

pcdavid commented Oct 28, 2024

One scenario to validate before we can actually remove our custom adapter is to define multiple View documents with references between them (typically through reused node description), and make sure they are correctly reloaded from scratch (editing domain disposed) with the inter-document references properly resolved.

@sbegaudeau sbegaudeau removed this from the 2025.1.0 milestone Dec 22, 2024
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 a pull request may close this issue.

2 participants