when I'am on Global planning view and I click on "show Actions" box, look the log files:
2024-02-15 12:04:00.084 ***** ERROR ***** [V11.1.3] Exception-[42000] SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8_general_ci' is not valid for CHARACTER SET 'utf8mb4'
2024-02-15 12:04:00.084 ***** ERROR ***** [V11.1.3] For query : SELECT planningelement.*
FROM
( SELECT cast(id as CHAR) COLLATE utf8_general_ci as id,color,idProject,cast(refType AS CHAR) COLLATE utf8_general_ci as refType,refId,refName,topId,topRefType,topRefId,
priority,elementary,idle,done,cancelled,idPlanningMode,idBill,
initialStartDate,validatedStartDate,validatedStartFraction,plannedStartDate,plannedStartFraction,realStartDate,
initialEndDate,validatedEndDate,validatedEndFraction,plannedEndDate,plannedEndFraction,realEndDate,
latestStartDate,latestEndDate,
initialDuration,validatedDuration,plannedDuration,realDuration,
initialWork,validatedWork,assignedWork,plannedWork,leftWork,realWork,
validatedCost,assignedCost,plannedCost,leftCost,realCost,
progress,expectedProgress,wbs,wbsSortable,isOnCriticalPath,notPlannedWork, needReplan,
null as idType, null as idStatus, null as idResource, 0 as isGlobal , null as paused
FROM planningelement
WHERE ((planningelement.idProject not in (0) or planningelement.idProject is null ) and (planningelement.idProject not in (0) or planningelement.idProject is null or (1=4) ) and (planningelement.idProject not in (0) or planningelement.idProject is null or (1=3) ))
UNION
SELECT coalesce(cast( (pex.id+1000000000) AS CHAR) COLLATE utf8_general_ci,concat('Action','_',action.id)) as id, null as color, action.idProject as idProject, cast('Action' AS CHAR) COLLATE utf8_general_ci as refType, action.id as refId, action.name as refName, null as topId, 'Project' as topRefType, action.idProject as topRefId,
'N/A' as priority, 1 as elementary, action.idle as idle, action.done as done, action.cancelled as cancelled, 8 as idPlanningMode, 'N/A' as idBill,
'N/A' as initialStartDate, 'N/A' as validatedStartDate, 0 as validatedStartFraction, action.actualDueDate as plannedStartDate, 0 as plannedStartFraction, action.handledDate as realStartDate,
'N/A' as initialEndDate, action.initialDueDate as validatedEndDate, 1 as validatedEndFraction, action.actualDueDate as plannedEndDate, 1 as plannedEndFraction, action.doneDate as realEndDate, 'N/A' as latestStartDate, 'N/A' as latestEndDate,
'N/A' as initialDuration, 1 as validatedDuration, 'N/A' as plannedDuration, 'N/A' as realDuration,
'N/A' as initialWork, 'N/A' as validatedWork, 'N/A' as assignedWork, 'N/A' as plannedWork, 'N/A' as leftWork, 'N/A' as realWork,
'N/A' as validatedCost, 'N/A' as assignedCost, 'N/A' as plannedCost, 'N/A' as leftCost, 'N/A' as realCost,
'N/A' as progress, 'N/A' as expectedProgress, coalesce(pex.wbs,concat(pe.wbs,'._#',action.id)) as wbs, coalesce(pex.wbsSortable,concat(pe.wbsSortable,'._#',action.id)) as wbsSortable, 'N/A' as isOnCriticalPath, 'N/A' as notPlannedWork, 'N/A' as needReplan, action.idActionType as idType, action.idStatus as idStatus, action.idResource as idResource, 1 as isGlobal, 'N/A' as paused
FROM action LEFT JOIN planningelement AS pe ON pe.refType='Project' and pe.refId=action.idProject LEFT JOIN planningelementextension as pex ON pex.refType='Action' and pex.refId=action.id WHERE ((action.idProject not in (0) or action.idProject is null ) and (action.idProject not in (0) or action.idProject is null or (action.idResource=3) ) and (action.idProject not in (0) or action.idProject is null or (action.idUser=3) )) and action.idProject not in (0)) as planningelement
WHERE planningelement.idle=0 and (1=1) and ( (planningelement.idProject in (0, 2, 38, 35, 36, 83, 85, 86, 92, 93, 99, 104, 105, 113, 117, 118, 120, 122, 124, 125, 126, 127, 128, 133, 134, 135, 137, 138, 139, 142, 152, 153, 154, 159, 167, 168, 169, 174, 176, 177, 182, 183, 184, 185, 186, 187, 190, 193, 197, 202, 203, 204, 210, 214, 220, 222, 223, 224, 228, 227, 229, 230, 242, 243, 247, 256, 257, 258, 265, 266, 269, 275, 276, 277, 278, 282, 296, 297, 304, 309, 318, 319, 320, 321, 325, 327, 328, 335, 336, 337, 341, 342, 349, 356, 360, 361, 373, 375, 383, 389, 392, 394, 397, 398, 400, 411, 414, 415, 416, 417, 426, 427, 428, 440, 442, 443, 444, 445, 446, 449, 450, 456, 457, 460, 462, 466, 469, 480, 481, 493, 499, 500, 504, 505, 508, 510, 511, 514, 516, 519, 520, 521, 522, 523, 526, 541, 542, 543, 550, 555, 556, 560, 561, 563, 566, 581, 582, 585, 590, 591, 595, 601, 602, 603, 604, 609, 610, 611, 612, 615, 622, 623, 624, 625, 626, 627, 628, 629, 631, 634, 635, 636, 637, 641, 642, 647, 652, 656, 657, 658, 659, 660, 661, 662, 666, 667, 673, 676, 683, 685, 686, 687, 688, 689, 844, 692, 694, 697, 714, 722, 726, 728, 729, 734, 743, 746, 747, 749, 752, 753, 755, 764, 766, 768, 774, 775, 781, 782, 789, 790, 791, 795, 796, 797, 798, 802, 806, 808, 809, 811, 812, 813, 817, 818, 819, 825, 828, 829, 830, 831, 846, 849, 852, 853, 856, 859, 861, 863, 864, 865, 866, 870, 874, 875, 877, 879, 881, 882, 895, 896, 899, 900, 901, 904, 911, 912, 913, 914, 915, 920, 928, 929, 930, 932, 934, 935, 940, 961, 965, 966, 967, 979, 980, 989, 991, 992, 997, 998, 1002, 1003, 1006, 1014, 1265, 1268, 1269, 1270, 1271, 1281, 1282, 1284, 1287, 1288, 1297, 1325, 37, 25, 82, 96, 89, 77, 91, 84, 97, 98, 87, 107, 114, 132, 90, 72, 71, 307, 396, 70, 170, 106, 80, 171, 81, 115, 67, 116, 66, 123, 136, 151, 141, 207, 158, 192, 198, 178, 206, 218, 201, 225, 251, 253, 165, 249, 108, 109, 208, 233, 234, 131, 173, 219, 250, 236, 252, 215, 216, 217, 231, 235, 164, 209, 63, 254, 195, 244, 245, 246, 111, 110, 274, 221, 306, 271, 261, 264, 262, 272, 273, 237, 312, 268, 305, 284, 285, 280, 354, 279, 288, 290, 291, 294, 295, 286, 298, 299, 238, 301, 323, 313, 292, 293, 347, 281, 345, 324, 338, 308, 329, 330, 344, 333, 302, 314, 339, 331, 346, 310, 311, 366, 340, 348, 343, 351, 362, 357, 194, 359, 352, 369, 368, 370, 358, 363, 372, 379, 378, 384, 387, 365, 355, 377, 376, 403, 364, 401, 390, 388, 385, 386, 380, 374, 399, 402, 391, 88, 408, 409, 404, 405, 406, 407, 470, 212, 441, 439, 59, 410, 463, 458, 454, 545, 240, 452, 451, 448, 447, 353, 475, 474, 551, 477, 473, 464, 471, 476, 395, 316, 478, 465, 491, 455, 461, 501, 490, 488, 517, 495, 393, 544, 479, 506, 513, 530, 503, 507, 518, 549, 548, 529, 565, 524, 525, 527, 494, 492, 547, 546, 564, 562, 552, 557, 571, 502, 558, 570, 588, 567, 580, 56, 57, 586, 579, 482, 584, 587, 568, 597, 583, 592, 260, 596, 613, 573, 605, 606, 467, 607, 619, 608, 617, 614, 630, 644, 653, 645, 638, 572, 632, 648, 655, 578, 663, 620, 654, 702, 711, 665, 690, 695, 684, 691, 707, 712, 717, 705, 706, 718, 674, 574, 303, 593, 594, 716, 713, 693, 723, 733, 732, 715, 704, 703, 737, 740, 730, 762, 589, 754, 576, 55, 119, 65, 69, 68, 54, 53, 731, 771, 745, 750, 425, 618, 724, 772, 751, 770, 761, 765, 776, 696, 699, 779, 780, 748, 777, 778, 773, 792, 794, 804, 803, 810, 793, 760, 788, 575, 52, 805, 51, 763, 816, 835, 827, 50, 49, 48, 47, 832, 833, 820, 839, 842, 843, 826, 735, 815, 845, 727, 821, 822, 823, 850, 834, 814, 851, 848, 878, 921, 919, 857, 880, 917, 862, 897, 876, 871, 933, 953, 954, 869, 867, 872, 894, 898, 858, 960, 964, 931, 905, 976, 906, 1057, 1251, 1258, 1257, 1259, 959, 1009, 1298, 1261, 996, 922, 44, 43, 42, 39, 40, 577, 873, 1005, 1279, 1283, 1286, 1327, 1267, 1278, 1280, 1328, 893, 143, 437, 144, 255, 429, 430, 431, 145, 432, 433, 434, 435, 436, 973, 232, 1012, 1013, 999, 1043, 1313, 1044, 1045, 1046, 1047, 1048, 1329, 1049, 1266, 1052, 682, 1312, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 767, 1255, 1303, 1301, 1302, 1300, 1299, 936, 963, 962, 1000, 1276, 1262, 1274, 1275, 1273, 1272, 1015, 1314, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1285, 1316, 1317, 1318, 1319, 1320, 1321, 1322, 1323, 1324, 1030, 1252, 677, 958, 957, 34, 599, 975, 7, 955, 147, 1263, 1253, 824, 969, 783, 785, 923, 924, 925, 784, 926, 927, 787, 786, 836, 837, 838, 840, 841, 854, 855, 103, 424, 725, 639, 31, 472, 267, 739, 196, 799, 75, 1256, 438, 978, 24, 453, 569, 1264, 1039, 140, 20, 983, 334, 995, 984, 985, 986, 987, 993, 1001, 1007, 1037, 1036, 981, 982, 988, 11, 616, 600, 769, 489, 483, 484, 485, 486, 487, 646, 1289, 1290, 1294, 1291, 1292, 1293, 1040, 1041, 738, 633, 199, 741, 742, 744, 970, 972, 1326)) and planningelement.idProject not in (0,1015,1314,1021,1022,1023,1024,1025,1026,1027,1028)) and planningelement.idProject not in (0, 1326)
ORDER BY planningelement.wbsSortable
LIMIT 1000001
2024-02-15 12:04:00.084 ***** ERROR ***** [V11.1.3] Strack trace :
2024-02-15 12:04:00.084 ***** ERROR ***** [V11.1.3] #0 Sql->query called at [/var/www/hosted/biouv_group/tool/jsonPlanning.php:310]