From f083d7df47c98df9035bb55cabde1b0b745c6b5a Mon Sep 17 00:00:00 2001 From: Offray Date: Fri, 2 Sep 2022 10:15:45 -0500 Subject: [PATCH] Importing should not populate custom keys with NanoID to decouple from the binary NanoID generator. --- repository/TiddlyWiki/Tiddler.class.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/TiddlyWiki/Tiddler.class.st b/repository/TiddlyWiki/Tiddler.class.st index fa19843..11f15eb 100644 --- a/repository/TiddlyWiki/Tiddler.class.st +++ b/repository/TiddlyWiki/Tiddler.class.st @@ -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