@@ -41,6 +41,24 @@ use IMATHUZH\Qfq\Core\Helper\SqlQuery;
// TODO: DONT DO: add column import-modification-date to Form and FormElement and set them to the same as modification date in both exportForm and importForm. compare the two modification dates in the beginning. If the actual modification is after importModification and fileStats are the same in file and in form, then exportForm.
// TODO: DONT DO: what to do if importModificationDate and fileStats have changed? > 1) export Form to new form file named <formName>mergeConflict_timestamp 2) importForm form file, overwrite DB
// TODO: TESTING
// new form => form file created
// form field change => changed in form file
// form name change => old form file deleted, new form file created
// form delete => form file deleted
// form file not writeable => all the above abort before changes to DB are made
// form element create => added to form file
// form element changed => changed in form file
// form element deleted => removed from form file
// form file name changed => old form invalid, new form works
// form file parameter changed => changed in form editor
// form file form element added => added in form editor
// form file form element changed => changed in form editor
// form file form element removed => removed in form editor
///////////////// JUST A TEST, DELETE ME! //////////////