Warning: session_start(): open(/var/lib/php/sessions/sess_80hfuqmov6ee62ud0o3pj31joh, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!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();
}
});
}
}