question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] em.isActive(entityId)

See original GitHub issue

@junkdog implementing the testcases for the debugger I’m running into some engine behavior I can’t find any documentation on.

After entity deleteFromWorld is issued, until deletion is finalized by the batchprocessor, em.isActive(entityId) returns true. Does this mean all interactions with the entity (except for deletion) are considered legal? Or should the method return false right after deleteFromWorld?

I ask since it seems like an artifact from how the engine works and not so much intended (see EntityTransmuter#isValid for example, it will block transmutations which will block componentmappers from triggering create/delete). But for some reason it treats deleted-finalized entities differently and throw an exception.

Edit: DelayedComponentRemoval suggests component read is intended for that group until all subscriptions have been notified.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
DaanVanYperencommented, May 17, 2019
0reactions
DaanVanYperencommented, Oct 13, 2019

Question answered. Feel free to create a new ticket for any insights gained during this discussion! Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Content Document Link: FIELD_INTEGRITY_EXCEPTION ...
First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, Document with ID: 0693F000000Euj5 is already linked with the entity with ID: ...
Read more >
SAM.gov Entity Validation - GSA
Validation is just one step in the process to get a Unique Entity ID and register your entity. What Is Entity Validation? (2...
Read more >
Legal Entity ID – Questions & Answers from Webinar
A: Each individual fund which is active in transactions that need to be reported using an LEI would need to obtain an LEI....
Read more >
Entity Framework - Invalid Column Name '*_ID" - Stack Overflow
So I have two questions here: 1. What is a good way to go from a normal connection string to an EF connection...
Read more >
Considerations for Working with Discovery Framework
Before you create questions by using Discovery Framework, we recommend that you review these considerations.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found