Importing should not populate custom keys with NanoID to decouple from the binary NanoID generator.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-09-02 10:15:45 -05:00
parent 6bd9647dbd
commit f083d7df47
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ Tiddler >> fromDictionary: aDictionary [
revision: (aDictionary at: 'revision' ifAbsentPut: [ nil ]).
customKeys := aDictionary keys
copyWithoutAll: (self class instanceVariables collect: [ :each | each name ]).
(customKeys includes: 'uid') ifFalse: [ self uidGenerator ].
"(customKeys includes: 'uid') ifFalse: [ self uidGenerator ]."
customKeys do: [:key | | valueTemp |
valueTemp := aDictionary at: key.
valueTemp class = Array