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 }}
Repository navigation
Undo of creating a page with a new tag leaves the tag #1300
Create page "alpha" with a tag "Movie" that does not exist yet (for example "alpha #Movie" in search).
Undo.
Expected
Both "alpha" and the tag "Movie" are removed.
Actual
"alpha" goes to the Recycle bin, and the tag "Movie" stays.
Cause
The tag is created in the same transaction as the page, as a nested map in :block/tags (build-page-tx, deps/outliner/src/logseq/outliner/page.cljs), but the inverse of :create-page in deps/outliner/src/logseq/outliner/op/construct.cljc deletes only the created page named by :uuid.
Found with a property-based test of random outliner operation sequences with undo.
Activity