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

Error when removing members with member attributes #12

Closed
brollb opened this issue Jan 31, 2022 · 0 comments
Closed

Error when removing members with member attributes #12

brollb opened this issue Jan 31, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@brollb
Copy link
Collaborator

brollb commented Jan 31, 2022

It looks like it tries to remove all the member attributes after removing the member from the set. If the node is not a member of the set, this is not needed as webgme will automatically clear the member attributes, registry values.

 CoreIllegalOperationError: Cannot access attributes of an unknown member.
      at new CoreIllegalOperationError (node_modules/webgme-engine/src/common/core/CoreIllegalOperationError.js:16:27)
      at CoreQ.Core.getMemberAttribute (node_modules/webgme-engine/src/common/core/core.js:2041:23)
      at Context.<anonymous> (test/common/JSONImporter.spec.js:581:30)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)

@brollb brollb added the bug Something isn't working label Jan 31, 2022
@brollb brollb closed this as completed in 7f1f464 Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant