You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Undo of deleting a property removes it from the tags that had it as a tag property #1311
Add "rating" as a tag property of the tag "Topic".
Delete the property "rating".
Press Ctrl+Z.
Expected
"rating" is back and is again a tag property of "Topic".
Actual
"rating" is back, but "Topic" no longer lists it as a tag property.
Notes
The tag's list of properties refers to the property entity, so deleting the property also removes it from that list. The undo restores the property but not the tag's reference to it. Same family as #1304 and #1305: the undo of a delete does not restore what the delete changed on other nodes.
Found with a probe of undo on single operations, replayed on upstream master 16c4ed1a0: after the undo, the datom [Topic :logseq.property.class/properties rating] is missing.
Fixed on graphs without sync by logseq/logseq#13786. Undo of deleting a property now replays the delete's recorded datoms, so the property is a tag property of Topic again. local-graph-undo-of-property-delete-restores-tag-property-test pins it. A synced graph still undoes through the old inverse op, which this PR does not change.
Activity
test(undo): see links and tag properties
test(undo): see links and tag properties
test(undo): see links and tag properties
test(undo): see links and tag properties
test(undo): see links and tag properties
test(undo): see links and tag properties
test(undo): see links and tag properties
yuxi-liu-wired commentedon Oct 27, 2026
Fixed on graphs without sync by logseq/logseq#13786. Undo of deleting a property now replays the delete's recorded datoms, so the property is a tag property of Topic again.
local-graph-undo-of-property-delete-restores-tag-property-testpins it. A synced graph still undoes through the old inverse op, which this PR does not change.