Skip to content

Read older-layout Reminders columns from the store's cached model - #2291

Merged
abrignoni merged 1 commit into
mainfrom
fix/reminders-older-layout-columns
Sep 27, 2026
Merged

abrignoni merged 1 commit into
mainfrom
fix/reminders-older-layout-columns

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Fixes Reminders on the older store layout (the iOS 13.3.1 to 15.3.1 test images), where reminders are ZREMCDOBJECT rows and some columns are numbered. On iOS 15 a reminder's creation date is in ZCREATIONDATE1, not ZCREATIONDATE, so Creation Date came out blank.

  • Columns are now worked out from the Core Data model the store caches in Z_MODELCACHE, with the helpers from DLEAPP's macosReminders.py (DLEAPP #340).
  • New unit test with constructed older-layout stores. It fails on the old code.
  • The ZREMCDREMINDER branch for iOS 16 and later is unchanged.

No registered image holds older-layout reminders, and the notes say so.

🤖 Generated with Claude Code

In the older store layout (the iOS 13.3.1, 14.3, 15.0.2 and 15.3.1 test
images) a reminder is a REMCDReminder row of ZREMCDOBJECT, beside
accounts, lists, alarms and other entities, and a property name several
of those entities define is kept in numbered columns. The artifact
hardcoded ZCREATIONDATE, but in the iOS 15 models REMCDHashtag (entity
24) also defines creationDate, so a reminder's creation date is in
ZCREATIONDATE1 and Creation Date came out blank.

The older-layout branch now works out the table and the column of each
property from the Core Data model the store caches in Z_MODELCACHE, with
the helpers from DLEAPP's macosReminders.py (DLEAPP #340). A store whose
model cannot be read is logged and not read, and a property whose column
cannot be decided is logged and reported blank. The ZREMCDREMINDER
branch for iOS 16 and later is unchanged.

A new unit test builds older-layout stores with the iOS 14.3 and 15.0.2
entity numbers and fails on the previous code. Row counts are unchanged
on the 22 registered iOS images that carry Reminders stores, nine of
them newly recorded in sample_data. None of them holds older-layout
reminders, and the notes say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit 94af59e into main Sep 27, 2026
11 checks passed
@abrignoni
abrignoni deleted the fix/reminders-older-layout-columns branch September 27, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant