!7 concept Bla { S name; } module QuickReloadTest > DynPrintLog { transient virtual Concepts oldConcepts; start { print(+oldConcepts); db(); pnlStruct(list(Bla)); uniq(Bla, name := "yo"); } Concepts _getReloadData() { ret db_mainConcepts(); } void _setReloadData_early(virtual Concepts data) { if (data == null) ret; oldConcepts = data; Concepts concepts = db_mainConcepts(); concepts.miscMapPut("dbGrabber", func -> Bool { pcall { concepts.idCounter = getLong idCounter(oldConcepts); Map oldMap = cast _get concepts(oldConcepts); concepts.concepts.putAll((Map) quickImport(oldMap)); // Note: this calls _doneLoading2() on all concepts concepts.assignConceptsToUs(); true; } false; }); } }