When I migrate the standard TV3 tracker "Bugs" to TV5
Then the import succeeds (I do have a TV5 tracker "Bugs") but I get a PHP Notice about a DB error :
[codendiadm@52706db6c24f root]$ (cd /usr/share/tuleap/plugins/tracker/bin/ && ./migrate_tv3_to_tv5.sh jmasson 114 234 Bugs Fu bugs)
PHP Notice: DB error ==> SELECT tracker_field.id as field_id, notified_people, notification_type, notification_start, recurse, frequency
FROM artifact_date_reminder_settings
INNER JOIN tracker_field ON (old_id = field_id AND tracker_id = 269 AND formElement_type = 'date')
WHERE group_artifact_id = 234 @@ /usr/share/tuleap/src/common/dao/include/DataAccessObject.class.php at line 95 in /usr/share/tuleap/src/common/dao/include/DataAccessObject.class.php on line 155
PHP Stack trace:
PHP 1. {main}() /usr/share/tuleap/plugins/tracker/bin/create_tracker_structure_from_tv3.php:0
PHP 2. TrackerFactory->createFromTV3() /usr/share/tuleap/plugins/tracker/bin/create_tracker_structure_from_tv3.php:56
PHP 3. Tracker_Migration_V3->createTV5FromTV3() /usr/share/tuleap/plugins/tracker/include/Tracker/TrackerFactory.class.php:704
PHP 4. Tracker_Migration_V3_RemindersDao->create() /usr/share/tuleap/plugins/tracker/include/Tracker/Migration/V3.class.php:117
PHP 5. DataAccessObject->retrieve() /usr/share/tuleap/plugins/tracker/include/Tracker/Migration/V3/RemindersDao.class.php:31
PHP 6. DataAccessObject->handleError() /usr/share/tuleap/src/common/dao/include/DataAccessObject.class.php:95
PHP 7. trigger_error() /usr/share/tuleap/src/common/dao/include/DataAccessObject.class.php:155
PHP Warning: Invalid argument supplied for foreach() in /usr/share/tuleap/plugins/tracker/include/Tracker/Migration/V3/RemindersDao.class.php on line 31
PHP Stack trace:
PHP 1. {main}() /usr/share/tuleap/plugins/tracker/bin/create_tracker_structure_from_tv3.php:0
PHP 2. TrackerFactory->createFromTV3() /usr/share/tuleap/plugins/tracker/bin/create_tracker_structure_from_tv3.php:56
PHP 3. Tracker_Migration_V3->createTV5FromTV3() /usr/share/tuleap/plugins/tracker/include/Tracker/TrackerFactory.class.php:704
PHP 4. Tracker_Migration_V3_RemindersDao->create() /usr/share/tuleap/plugins/tracker/include/Tracker/Migration/V3.class.php:117