LearnNewsExamplesServices
Frontmatter
id4557
titlemanager.DomEvent: fire() => data.component not always pointing to the right instance
stateClosed
labels
bug
assigneestobiu
createdAtJul 24, 2023, 3:45 PM
updatedAtJul 25, 2023, 12:58 AM
githubUrlhttps://github.com/neomjs/neo/issues/4557
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 25, 2023, 12:58 AM

manager.DomEvent: fire() => data.component not always pointing to the right instance

Closed v8.1.0 bug
tobiu
tobiu commented on Jul 24, 2023, 3:45 PM

in case we do have multiple listeners for one component path, it can happen that the component gets replaced by reference.

to ensure this won't happen, we should clone the data object.

tobiu added the bug label on Jul 24, 2023, 3:45 PM
tobiu assigned to @tobiu on Jul 24, 2023, 3:45 PM
tobiu referenced in commit 16bc12e - "manager.DomEvent: fire() => data.component not always pointing to the right instance #4557" on Jul 24, 2023, 3:45 PM
tobiu closed this issue on Jul 24, 2023, 3:47 PM
tobiu reopened this issue on Jul 25, 2023, 12:57 AM
tobiu referenced in commit 44a4382 - "manager.DomEvent: fire() => data.component not always pointing to the right instance #4557" on Jul 25, 2023, 12:57 AM
tobiu
tobiu Jul 25, 2023, 12:58 AM

the logic was accidentally cloning neo instances. resolved now.

tobiu closed this issue on Jul 25, 2023, 12:58 AM