Importing should not populate custom keys with NanoID to decouple from the binary NanoID generator.
This commit is contained in:
parent
6bd9647dbd
commit
f083d7df47
@ -234,7 +234,7 @@ Tiddler >> fromDictionary: aDictionary [
|
|||||||
revision: (aDictionary at: 'revision' ifAbsentPut: [ nil ]).
|
revision: (aDictionary at: 'revision' ifAbsentPut: [ nil ]).
|
||||||
customKeys := aDictionary keys
|
customKeys := aDictionary keys
|
||||||
copyWithoutAll: (self class instanceVariables collect: [ :each | each name ]).
|
copyWithoutAll: (self class instanceVariables collect: [ :each | each name ]).
|
||||||
(customKeys includes: 'uid') ifFalse: [ self uidGenerator ].
|
"(customKeys includes: 'uid') ifFalse: [ self uidGenerator ]."
|
||||||
customKeys do: [:key | | valueTemp |
|
customKeys do: [:key | | valueTemp |
|
||||||
valueTemp := aDictionary at: key.
|
valueTemp := aDictionary at: key.
|
||||||
valueTemp class = Array
|
valueTemp class = Array
|
||||||
|
Loading…
Reference in New Issue
Block a user