Upgrade left existing dataview filters stale — rows empty, counts correct, until the view is force-rebuilt
What went wrong? (Bao's summary of our work)
Summary: After upgrading Any, every pre-existing view across multiple types/collections showed the correct item count but zero rows. Underlying objects were never affected — confirmed via direct query (114 Book, 38 Character, 33 Peopleobjects, all intact, fields and links present) — this is a view/index staleness bug, not data loss.
Scope: Not limited to plain types. Hit:
- Default type views (Book, Character, People)
- Supertag collection views (Author, Character)
- User-created local/custom views on those same supertags
Collections with no custom views that happened to already be "default" (Contact) were unaffected, which suggests the break is specifically in cached view state carried over from the old build, not something structural about plain types vs. collections.
Repro (as experienced):
1. Upgrade Any.
2. Open a type or collection with an existing saved view.
3. View shows correct count badge (e.g. "112 items") but the list area is empty.
4. Quit and reopen the app — does not clear it.
Workaround found: Forcing the view to re-evaluate fixes it:
- Adding a brand-new view to the type, or
- Toggling any filter field on the existing view off and back on (e.g. Status)
Both make rows reappear immediately, with correct data. Has to be repeated per affected view — doesn't propagate automatically to a second stale view on the same type.
Impact: Looks like total data loss to the user at first glance (nothing in the main collection screens), which is alarming on upgrade, even though nothing is actually wrong underneath.
0 Comments
Sign in to comment
No comments yet. Be the first to share your thoughts.
