Skip to content

Don't save empty identifiers#13149

Open
hornc wants to merge 2 commits into
internetarchive:masterfrom
hornc:fix_emptyidentifiers
Open

Don't save empty identifiers#13149
hornc wants to merge 2 commits into
internetarchive:masterfrom
hornc:fix_emptyidentifiers

Conversation

@hornc

@hornc hornc commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Closes #1946

Technical

Testing

Tested locally saving various no-op changes, before this change identifiers: {} was saved on http://localhost:8080/books/OL23269118M/Alice's_adventures_in_Wonderland

After this change, empty identifiers are not created, and any existing empty {} dicts are cleared.

Screenshot

Stakeholders

@hornc
hornc force-pushed the fix_emptyidentifiers branch from 93159cb to e220d8b Compare July 13, 2026 08:57
@hornc
hornc force-pushed the fix_emptyidentifiers branch from b129979 to 315866a Compare July 13, 2026 10:16
@hornc hornc changed the title Don't save empty identifiers, closes Don't save empty identifiers Jul 13, 2026
@mekarpeles mekarpeles assigned cdrini and unassigned mekarpeles Jul 13, 2026
@hornc hornc mentioned this pull request Jul 16, 2026
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.

saving an edition via UI adds empty classifications:{} and identifiers:{} on unrelated changes

3 participants