-
Notifications
You must be signed in to change notification settings - Fork 23
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
Bug: If dynamic list becomes empty, items have invalid data attached #59
Comments
Thank you for the bug report! What is the best and easiest way to reproduce the problem? |
Here is my basic setup:
If The gui does get disabled in this case, so the stale data isn't actually visible. However, the inner check does happen, so I need to actually detect that the data is stale (and not do anything that might crash). The only reason I even noticed this was because I had a list of guid keys that I was using, and I was populating the gui based on data retrieved from a separate system keyed off those guids. The data retrieval returned I worked around it by doing this:
However, after submitting this bug, I found this ALSO happens when items are removed from an overly full list - I had like 10 things in my list, and I deleted a few, and during one of these deletions I once again hit a case where |
Thanks, I'll look into it during the week. |
Because of this early bail:
When the list had items but then became empty,
item.data
for items that previously had data stays what it was before.The text was updated successfully, but these errors were encountered: