-
Notifications
You must be signed in to change notification settings - Fork 188
Closed
Labels
27.0.0 - BugsBugs Found in LORIS 27 testingBugs Found in LORIS 27 testingModule: instrument_builderPR or issue related to instrument_builder modulePR or issue related to instrument_builder module
Milestone
Description
While attempting to test the following test:
- Edit DatabaseName and Question in the table directly and check if it sticks
While running php assign_missing_instruments confirm
I got the following error:
PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'adaudrich_dev.adam_test_1' doesn't exist in /var/www/loris/php/libraries/Database.class.inc:415
Stack trace:
#0 /var/www/loris/php/libraries/Database.class.inc(415): PDOStatement->execute()
#1 /var/www/loris/php/libraries/Database.class.inc(232): Database->_realinsert()
#2 /var/www/loris/php/libraries/NDB_BVL_Battery.class.inc(232): Database->insert()
#3 /var/www/loris/tools/assign_missing_instruments.php(128): NDB_BVL_Battery->addInstrument()
#4 /var/www/loris/tools/assign_missing_instruments.php(153): populateVisitLabel()
#5 {main}
thrown in /var/www/loris/php/libraries/Database.class.inc on line 415
My understanding is that table creation is not required for linst instruments.
I also ran php assign_missing_instruments V3 and got the following error:
PHP Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 's.CandiateID' in 'on clause' in /var/www/loris/src/Database/Query.php:46
Stack trace:
#0 /var/www/loris/src/Database/Query.php(46): PDOStatement->execute()
#1 /var/www/loris/tools/assign_missing_instruments.php(144): LORIS\Database\Query->getIterator()
#2 {main}
thrown in /var/www/loris/src/Database/Query.php on line 46
Therefore:
-
Preview Instrument - NOT TESTED
-
Add Rules - NOT TESTED
-
Save Rules file - NOT TESTED
-
Validate Instrument (Does not save if there is a same QuestionName twice) NOT TESTED
Metadata
Metadata
Assignees
Labels
27.0.0 - BugsBugs Found in LORIS 27 testingBugs Found in LORIS 27 testingModule: instrument_builderPR or issue related to instrument_builder modulePR or issue related to instrument_builder module