Skip to content

Commit

Permalink
fix bug in EChangeResolverAndApplicator leading to some UUIDs not bei…
Browse files Browse the repository at this point in the history
…ng registered
  • Loading branch information
Jan Wittler committed Dec 13, 2022
1 parent 258adad commit f994afe
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ class EChangeResolverAndApplicator {
switch (eChange) {
CreateEObject<?>:
uuidResolver.registerEObject(eChange.affectedEObjectID, eChange.affectedEObject)
}
switch (eChange) {
EObjectAddedEChange<?>:
if (eChange.newValue !== null) {
uuidResolver.registerEObject(eChange.newValueID, eChange.newValue)
Expand All @@ -51,6 +53,8 @@ class EChangeResolverAndApplicator {
switch (eChange) {
DeleteEObject<?>:
uuidResolver.registerEObject(eChange.affectedEObjectID, eChange.affectedEObject)
}
switch (eChange) {
EObjectSubtractedEChange<?>:
if (eChange.oldValue !== null) {
uuidResolver.registerEObject(eChange.oldValueID, eChange.oldValue)
Expand Down

0 comments on commit f994afe

Please sign in to comment.