mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
fix: importing namespaced tags with spaces
Fixes https://github.com/logseq/db-test/issues/210. Also fix invalid EDN class db-ident related to this
This commit is contained in:
@@ -197,7 +197,7 @@
|
||||
#_(map #(select-keys % [:block/title :block/tags]))
|
||||
count))
|
||||
"Correct number of pages with block content")
|
||||
(is (= 12 (->> @conn
|
||||
(is (= 13 (->> @conn
|
||||
(d/q '[:find [?ident ...]
|
||||
:where [?b :block/tags :logseq.class/Tag] [?b :db/ident ?ident] (not [?b :logseq.property/built-in?])])
|
||||
count))
|
||||
@@ -270,7 +270,7 @@
|
||||
(is (= {:user.property/prop-bool true
|
||||
:user.property/prop-num 5
|
||||
:user.property/prop-string "yeehaw"
|
||||
:block/tags [:logseq.class/Page]}
|
||||
:block/tags [:logseq.class/Page :user.class/Some---Namespace]}
|
||||
(readable-properties @conn (db-test/find-page-by-title @conn "some page")))
|
||||
"Existing page has correct properties")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user