@@ -6523,7 +6523,7 @@ INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_st
6523
6523
INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_status_id, fixed_start_time, scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, duration, create_user, create_date, modify_user, modify_date)
6524
6524
VALUES ('20812', '2081', '2', '3', '2022-10-09 00:45:22', '2022-10-09 00:45:22', '2022-10-11 00:45:22', NULL, NULL, '172800000.0', '132456', '2022-10-09 00:45:22', '132456', '2022-10-09 00:45:22');
6525
6525
INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_status_id, fixed_start_time, scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, duration, create_user, create_date, modify_user, modify_date)
6526
- VALUES ('20813', '2081', '3', '2 ', '2022-10-11 00:45:22', '2022-10-11 00:45:22', '2022-10-11 12:45:22', NULL, NULL, '43200000.0', '132456', '2022-10-09 00:45:22', '132456', '2022-10-09 00:45:22');
6526
+ VALUES ('20813', '2081', '3', '3 ', '2022-10-11 00:45:22', '2022-10-11 00:45:22', '2022-10-11 12:45:22', NULL, NULL, '43200000.0', '132456', '2022-10-09 00:45:22', '132456', '2022-10-09 00:45:22');
6527
6527
INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_status_id, fixed_start_time, scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, duration, create_user, create_date, modify_user, modify_date)
6528
6528
VALUES ('20814', '2081', '4', '1', '2022-10-11 12:45:22', '2022-10-11 12:45:22', '2022-10-12 12:45:22', NULL, NULL, '86400000.0', '132456', '2022-10-09 00:45:22', '132456', '2022-10-09 00:45:22');
6529
6529
INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_status_id, fixed_start_time, scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, duration, create_user, create_date, modify_user, modify_date)
@@ -6562,6 +6562,34 @@ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_use
6562
6562
VALUES ('2081', '1', '132456', '132456', '2022-10-09 00:45:22', '132456', '2022-10-09 00:45:22');
6563
6563
INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
6564
6564
VALUES ('2081', '2', 'dok', '132456', '2022-10-09 00:45:22', '132456', '2022-10-09 00:45:22');
6565
+ -- Reviewer
6566
+ INSERT INTO resource (resource_id, resource_role_id, project_id, project_phase_id, user_id, create_user, create_date, modify_user, modify_date)
6567
+ VALUES ('20811', '4', '2081', 20814, 132456, '132456', '2022-10-16 08:03:51', '132456', '2022-10-16 08:03:51');
6568
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
6569
+ VALUES ('20811', '1', '132456', '132456', '2022-10-16 08:03:51', '132456', '2022-10-16 08:03:51');
6570
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
6571
+ VALUES ('20811', '2', 'dok', '132456', '2022-10-16 08:03:51', '132456', '2022-10-16 08:03:51');
6572
+ -- Screener
6573
+ INSERT INTO resource (resource_id, resource_role_id, project_id, project_phase_id, user_id, create_user, create_date, modify_user, modify_date)
6574
+ VALUES ('20812', '2', '2081', 20813, 132456, '132456', '2022-10-16 08:03:51', '132456', '2022-10-16 08:03:51');
6575
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
6576
+ VALUES ('20812', '1', '132456', '132456', '2022-10-16 08:03:51', '132456', '2022-10-16 08:03:51');
6577
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
6578
+ VALUES ('20812', '2', 'dok', '132456', '2022-10-16 08:03:51', '132456', '2022-10-16 08:03:51');
6579
+ -- Submitter
6580
+ INSERT INTO resource (resource_id, resource_role_id, project_id, project_phase_id, user_id, create_user, create_date, modify_user, modify_date)
6581
+ VALUES ('20813', '1', '2081', NULL, 124834, '124834', '2022-10-09 08:03:51', '124834', '2022-10-09 08:03:51');
6582
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
6583
+ VALUES ('20813', '1', '124834', '124834', '2022-10-09 08:03:51', '124834', '2022-10-09 08:03:51');
6584
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
6585
+ VALUES ('20813', '2', 'lightspeed', '124834', '2022-10-09 08:03:51', '124834', '2022-10-09 08:03:51');
6586
+ INSERT INTO upload (upload_id, project_id, project_phase_id, resource_id, upload_type_id, upload_status_id, parameter, create_user, create_date, modify_user, modify_date)
6587
+ VALUES ("20811", "2081", "20812", "20813", 1, 1, 'no_file.txt', "124834", '2022-10-09 08:03:51', "124834", '2022-10-09 08:03:51');
6588
+ INSERT INTO submission (submission_id, upload_id, submission_status_id, screening_score, initial_score, final_score, placement, submission_type_id, create_user, create_date, modify_user, modify_date)
6589
+ VALUES ("20811", "20811", 2, 7.83, 7.83, 7.83, 1, "1", "124834", '2022-10-09 08:03:51', "124834", '2022-10-09 08:03:51');
6590
+ -- Screening
6591
+ INSERT INTO review (review_id, resource_id, submission_id, project_phase_id, scorecard_id, committed, score, initial_score, create_user, create_date, modify_user, modify_date)
6592
+ VALUES ('30032', '20812', '20811', '20813', '30000410', '1', '7.83', '7.83', '132456', '2022-10-11 08:00:10.0', '132456', '2022-10-11 08:00:10.0');
6565
6593
6566
6594
-- Data for project
6567
6595
INSERT INTO project (project_id, project_status_id, project_category_id, create_user, create_date, modify_user, modify_date)
@@ -6601,7 +6629,7 @@ INSERT INTO project_info (project_id, project_info_type_id, value, create_user,
6601
6629
INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_status_id, fixed_start_time, scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, duration, create_user, create_date, modify_user, modify_date)
6602
6630
VALUES ('208213', '2082', '13', '3', '2022-10-11 00:45:22', '2022-10-11 00:45:22', '2022-10-11 00:45:22', NULL, NULL, '0.0', '132456', '2022-10-11 00:45:22', '132456', '2022-10-11 00:45:22');
6603
6631
INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_status_id, fixed_start_time, scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, duration, create_user, create_date, modify_user, modify_date)
6604
- VALUES ('208214', '2082', '14', '3 ', '2022-10-11 00:45:22', '2022-10-11 00:45:22', '2022-10-11 01:45:22', NULL, NULL, '3600000.0', '132456', '2022-10-11 00:45:22', '132456', '2022-10-11 00:45:22');
6632
+ VALUES ('208214', '2082', '14', '2 ', '2022-10-11 00:45:22', '2022-10-11 00:45:22', '2022-10-11 01:45:22', NULL, NULL, '3600000.0', '132456', '2022-10-11 00:45:22', '132456', '2022-10-11 00:45:22');
6605
6633
INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_status_id, fixed_start_time, scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, duration, create_user, create_date, modify_user, modify_date)
6606
6634
VALUES ('20821', '2082', '1', '2', '2022-10-11 01:45:22', '2022-10-11 01:45:22', '2022-10-13 01:45:22', NULL, NULL, '172800000.0', '132456', '2022-10-11 00:45:22', '132456', '2022-10-11 00:45:22');
6607
6635
INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_status_id, fixed_start_time, scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, duration, create_user, create_date, modify_user, modify_date)
@@ -7433,7 +7461,7 @@ INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_st
7433
7461
INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_status_id, fixed_start_time, scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, duration, create_user, create_date, modify_user, modify_date)
7434
7462
VALUES ('20932', '2093', '2', '2', '2022-10-10 13:45:22', '2022-10-10 13:45:22', '2022-11-09 13:45:22', NULL, NULL, '2592000000.0', '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
7435
7463
INSERT INTO project_phase (project_phase_id, project_id, phase_type_id, phase_status_id, fixed_start_time, scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, duration, create_user, create_date, modify_user, modify_date)
7436
- VALUES ('209318', '2093', '18', '1 ', '2022-10-11 13:45:22', '2022-10-11 13:45:22', '2022-10-12 13:45:22', NULL, NULL, '86400000.0', '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
7464
+ VALUES ('209318', '2093', '18', '2 ', '2022-10-11 13:45:22', '2022-10-11 13:45:22', '2022-10-12 13:45:22', NULL, NULL, '86400000.0', '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
7437
7465
-- Data for phase_criteria
7438
7466
INSERT INTO phase_criteria (project_phase_id, phase_criteria_type_id, parameter, create_user, create_date, modify_user, modify_date)
7439
7467
VALUES ('20931', '2', '0', '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
@@ -7450,14 +7478,6 @@ INSERT INTO phase_dependency (dependency_phase_id, dependent_phase_id, dependenc
7450
7478
VALUES ('20931', '20932', '1', '1', '0', '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
7451
7479
INSERT INTO phase_dependency (dependency_phase_id, dependent_phase_id, dependency_start, dependent_start, lag_time, create_user, create_date, modify_user, modify_date)
7452
7480
VALUES ('20932', '209318', '0', '1', '0', '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
7453
- -- Data for resource
7454
- INSERT INTO resource (resource_id, resource_role_id, project_id, project_phase_id, user_id, create_user, create_date, modify_user, modify_date)
7455
- VALUES ('2093', '13', '2093', NULL, 132456, '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
7456
- -- Data for resource_info
7457
- INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
7458
- VALUES ('2093', '1', '132456', '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
7459
- INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
7460
- VALUES ('2093', '2', 'dok', '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
7461
7481
7462
7482
-- Data for project
7463
7483
INSERT INTO project (project_id, project_status_id, project_category_id, create_user, create_date, modify_user, modify_date)
@@ -8482,4 +8502,54 @@ INSERT INTO tcs_catalog:informix.late_deliverable(late_deliverable_id, late_deli
8482
8502
INSERT INTO tcs_catalog:informix.late_deliverable(late_deliverable_id, late_deliverable_type_id, project_phase_id, resource_id, deliverable_id, deadline, create_date, forgive_ind, last_notified, explanation, response, delay) VALUES(4, 1, 202911, 20302, 4, TO_DATE('2022-11-25 09:05:00', '%Y-%m-%d %H:%M:%S'), TO_DATE('2022-11-20 09:05:00', '%Y-%m-%d %H:%M:%S'), 0, TO_DATE('2022-11-20 09:05:00', '%Y-%m-%d %H:%M:%S'), 'explaination', 'response', 10000);
8483
8503
INSERT INTO tcs_catalog:informix.late_deliverable(late_deliverable_id, late_deliverable_type_id, project_phase_id, resource_id, deliverable_id, deadline, create_date, forgive_ind, last_notified, explanation, response, delay) VALUES(5, 1, 20293, 20300, 2, TO_DATE('2022-11-26 09:05:00', '%Y-%m-%d %H:%M:%S'), TO_DATE('2022-11-20 09:05:00', '%Y-%m-%d %H:%M:%S'), 1, TO_DATE('2022-11-20 09:05:00', '%Y-%m-%d %H:%M:%S'), 'eeeeee', 'rrrrrrr', 20000);
8484
8504
INSERT INTO tcs_catalog:informix.late_deliverable(late_deliverable_id, late_deliverable_type_id, project_phase_id, resource_id, deliverable_id, deadline, create_date, forgive_ind, last_notified, explanation, response, delay) VALUES(6, 1, 20294, 20310, 4, TO_DATE('2022-11-27 09:05:00', '%Y-%m-%d %H:%M:%S'), TO_DATE('2022-11-20 09:05:00', '%Y-%m-%d %H:%M:%S'), 0, TO_DATE('2022-11-20 09:05:00', '%Y-%m-%d %H:%M:%S'), 'eeeeee', 'rrrrrrr', 20000);
8485
- INSERT INTO tcs_catalog:informix.late_deliverable(late_deliverable_id, late_deliverable_type_id, project_phase_id, resource_id, deliverable_id, deadline, create_date, forgive_ind, last_notified, explanation, response, delay) VALUES(7, 1, 20294, 20298, 4, TO_DATE('2022-11-28 09:05:00', '%Y-%m-%d %H:%M:%S'), TO_DATE('2022-11-20 09:05:00', '%Y-%m-%d %H:%M:%S'), 1, TO_DATE('2022-11-20 09:05:00', '%Y-%m-%d %H:%M:%S'), NULL, NULL, 20000);
8505
+ INSERT INTO tcs_catalog:informix.late_deliverable(late_deliverable_id, late_deliverable_type_id, project_phase_id, resource_id, deliverable_id, deadline, create_date, forgive_ind, last_notified, explanation, response, delay) VALUES(7, 1, 20294, 20298, 4, TO_DATE('2022-11-28 09:05:00', '%Y-%m-%d %H:%M:%S'), TO_DATE('2022-11-20 09:05:00', '%Y-%m-%d %H:%M:%S'), 1, TO_DATE('2022-11-20 09:05:00', '%Y-%m-%d %H:%M:%S'), NULL, NULL, 20000);
8506
+ -- project_id = 2082
8507
+ INSERT INTO resource (resource_id, resource_role_id, project_id, project_phase_id, user_id, create_user, create_date, modify_user, modify_date)
8508
+ VALUES ('125205', '17', '2082', NULL, '124764', '124764', '2022-12-22 09:54:12.256', '124764', '2022-12-22 10:11:49.424');
8509
+ INSERT INTO resource (resource_id, resource_role_id, project_id, project_phase_id, user_id, create_user, create_date, modify_user, modify_date)
8510
+ VALUES ('125206', '12', '2082', NULL, '132456', '132456', '2022-12-22 09:54:12.287', '132456', '2022-12-22 10:11:49.449');
8511
+ INSERT INTO resource (resource_id, resource_role_id, project_id, project_phase_id, user_id, create_user, create_date, modify_user, modify_date)
8512
+ VALUES ('125207', '18', '2082', '208214', '132456', '132456', '2022-12-22 09:54:12.309', '132456', '2022-12-22 10:11:49.474');
8513
+ INSERT INTO resource (resource_id, resource_role_id, project_id, project_phase_id, user_id, create_user, create_date, modify_user, modify_date)
8514
+ VALUES ('125208', '19', '2082', '208216', '132456', '132456', '2022-12-22 09:54:12.327', '132456', '2022-12-22 10:11:49.502');
8515
+ INSERT INTO resource (resource_id, resource_role_id, project_id, project_phase_id, user_id, create_user, create_date, modify_user, modify_date)
8516
+ VALUES ('125209', '20', '2082', '208217', '132456', '132456', '2022-12-22 09:54:12.349', '132456', '2022-12-22 10:11:49.53');
8517
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
8518
+ VALUES ('125205', '1', '124764', '124764', '2022-10-08 08:45:22', '124764', '2022-10-08 08:45:22');
8519
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
8520
+ VALUES ('125206', '1', '132456', '132456', '2022-10-08 08:45:22', '132456', '2022-10-08 08:45:22');
8521
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
8522
+ VALUES ('125207', '1', '132456', '132456', '2022-10-08 08:45:22', '132456', '2022-10-08 08:45:22');
8523
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
8524
+ VALUES ('125208', '1', '132456', '132456', '2022-10-08 08:45:22', '132456', '2022-10-08 08:45:22');
8525
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
8526
+ VALUES ('125209', '1', '132456', '132456', '2022-10-08 08:45:22', '132456', '2022-10-08 08:45:22');
8527
+ INSERT INTO upload (upload_id, project_id, project_phase_id, resource_id, upload_type_id, upload_status_id, parameter, create_user, create_date, modify_user, modify_date)
8528
+ VALUES ("20392", "2082", "208213", "125205", 1, 1, 'no_file.txt', "124764", '2022-10-13 14:00:10', "124764", '2022-10-13 14:00:10');
8529
+ INSERT INTO submission (submission_id, upload_id, submission_status_id, screening_score, initial_score, final_score, placement, submission_type_id, create_user, create_date, modify_user, modify_date)
8530
+ VALUES ("20392", "20392", 1, NULL, NULL, NULL, NULL, "2", "124764", '2022-10-16 08:03:51', "124764", '2022-10-16 08:03:51');
8531
+ -- project_id = 2093 submitter
8532
+ INSERT INTO resource (resource_id, resource_role_id, project_id, project_phase_id, user_id, create_user, create_date, modify_user, modify_date)
8533
+ VALUES ('125201', '1', '2093', NULL, '124857', '124857', '2022-12-22 09:54:12.256', '124857', '2022-12-22 10:11:49.424');
8534
+ -- for reference: To reproduce the phase tab breaking error comment the resource_info
8535
+ -- INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
8536
+ -- VALUES ('125201', '1', '124857', '124857', '2022-10-08 08:45:22', '124857', '2022-10-08 08:45:22');
8537
+
8538
+ -- Data for resource iterative reviewer
8539
+ INSERT INTO resource (resource_id, resource_role_id, project_id, project_phase_id, user_id, create_user, create_date, modify_user, modify_date)
8540
+ VALUES ('2093', '21', '2093', NULL, 132456, '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
8541
+ -- Data for resource_info
8542
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
8543
+ VALUES ('2093', '1', '132456', '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
8544
+ INSERT INTO resource_info (resource_id, resource_info_type_id, value, create_user, create_date, modify_user, modify_date)
8545
+ VALUES ('2093', '2', 'dok', '132456', '2022-10-10 13:45:22', '132456', '2022-10-10 13:45:22');
8546
+ -- submision 20393 from user cartajs
8547
+ INSERT INTO upload (upload_id, project_id, project_phase_id, resource_id, upload_type_id, upload_status_id, parameter, create_user, create_date, modify_user, modify_date)
8548
+ VALUES ("20393", "2093", "20932", "125201", 1, 1, 'no_file.txt', "124764", '2022-10-13 14:00:10', "124764", '2022-10-13 14:00:10');
8549
+ INSERT INTO submission (submission_id, upload_id, submission_status_id, screening_score, initial_score, final_score, placement, submission_type_id, create_user, create_date, modify_user, modify_date)
8550
+ VALUES ("20393", "20393", 1, NULL, NULL, NULL, NULL, "1", "124857", '2022-10-16 08:03:51', "124857", '2022-10-16 08:03:51');
8551
+ -- submission 20394 from user cartajs
8552
+ INSERT INTO upload (upload_id, project_id, project_phase_id, resource_id, upload_type_id, upload_status_id, parameter, create_user, create_date, modify_user, modify_date)
8553
+ VALUES ("20394", "2093", "20932", "125201", 1, 1, 'no_file.txt', "124764", '2022-10-13 14:00:10', "124764", '2022-10-13 14:00:10');
8554
+ INSERT INTO submission (submission_id, upload_id, submission_status_id, screening_score, initial_score, final_score, placement, submission_type_id, create_user, create_date, modify_user, modify_date)
8555
+ VALUES ("20394", "20394", 1, NULL, NULL, NULL, NULL, "1", "124764", '2022-10-16 08:03:51', "124764", '2022-10-16 08:03:51');
0 commit comments