diff --git a/attached_assets/Pasted--title-test-description-test-priority-medium-status-pend-1756807415020_1756807415020.txt b/attached_assets/Pasted--title-test-description-test-priority-medium-status-pend-1756807415020_1756807415020.txt new file mode 100644 index 0000000..45984de --- /dev/null +++ b/attached_assets/Pasted--title-test-description-test-priority-medium-status-pend-1756807415020_1756807415020.txt @@ -0,0 +1,200 @@ + + title: 'test', + + description: 'test', + + priority: 'medium', + + status: 'pending', + + assignedTo: 'Non assigné', + + startDate: '2025-09-02', + + dueDate: '2025-09-03', + + groupId: 2, + + createdBy: 'admin_local' + + }, + + dueDate: '2025-09-03', + + dueDateType: 'string', + + dueDateValue: '2025-09-03' + +} + +💾 DatabaseStorage.createTask - Input: { + + taskData: { + + title: 'test', + + description: 'test', + + priority: 'medium', + + status: 'pending', + + assignedTo: 'Non assigné', + + startDate: '2025-09-02', + + dueDate: '2025-09-03', + + groupId: 2, + + createdBy: 'admin_local' + + }, + + dueDate: '2025-09-03', + + dueDateType: 'string', + + dueDateISO: '2025-09-03' + +} + +Error creating task: TypeError: value.toISOString is not a function + + at PgTimestamp.mapToDriverValue (file:///app/node_modules/drizzle-orm/pg-core/columns/timestamp.js:34:18) + + at file:///app/node_modules/drizzle-orm/sql/sql.js:131:73 + + at Array.map () + + at SQL.buildQueryFromSourceParams (file:///app/node_modules/drizzle-orm/sql/sql.js:73:32) + + at file:///app/node_modules/drizzle-orm/sql/sql.js:92:21 + + at Array.map () + + at SQL.buildQueryFromSourceParams (file:///app/node_modules/drizzle-orm/sql/sql.js:73:32) + + at file:///app/node_modules/drizzle-orm/sql/sql.js:95:21 + + at Array.map () + + at SQL.buildQueryFromSourceParams (file:///app/node_modules/drizzle-orm/sql/sql.js:73:32) + +POST /api/tasks 500 in 7ms + +📝 POST /api/tasks - Received data: { + + originalBody: { + + title: 'test', + + description: 'test', + + priority: 'medium', + + status: 'pending', + + assignedTo: 'Non assigné', + + startDate: '2025-09-03', + + dueDate: '2025-09-03', + + groupId: 2, + + createdBy: 'admin' + + }, + + processedData: { + + title: 'test', + + description: 'test', + + priority: 'medium', + + status: 'pending', + + assignedTo: 'Non assigné', + + startDate: '2025-09-03', + + dueDate: '2025-09-03', + + groupId: 2, + + createdBy: 'admin_local' + + }, + + dueDate: '2025-09-03', + + dueDateType: 'string', + + dueDateValue: '2025-09-03' + +} + +💾 DatabaseStorage.createTask - Input: { + + taskData: { + + title: 'test', + + description: 'test', + + priority: 'medium', + + status: 'pending', + + assignedTo: 'Non assigné', + + startDate: '2025-09-03', + + dueDate: '2025-09-03', + + groupId: 2, + + createdBy: 'admin_local' + + }, + + dueDate: '2025-09-03', + + dueDateType: 'string', + + dueDateISO: '2025-09-03' + +} + +Error creating task: TypeError: value.toISOString is not a function + + at PgTimestamp.mapToDriverValue (file:///app/node_modules/drizzle-orm/pg-core/columns/timestamp.js:34:18) + + at file:///app/node_modules/drizzle-orm/sql/sql.js:131:73 + + at Array.map () + + at SQL.buildQueryFromSourceParams (file:///app/node_modules/drizzle-orm/sql/sql.js:73:32) + + at file:///app/node_modules/drizzle-orm/sql/sql.js:92:21 + + at Array.map () + + at SQL.buildQueryFromSourceParams (file:///app/node_modules/drizzle-orm/sql/sql.js:73:32) + + at file:///app/node_modules/drizzle-orm/sql/sql.js:95:21 + + at Array.map () + + at SQL.buildQueryFromSourceParams (file:///app/node_modules/drizzle-orm/sql/sql.js:73:32) + +POST /api/tasks 500 in 6ms + +HEAD /api/health 200 in 0ms + +PUT /api/customer-orders/101 401 in 1ms + +PUT /api/customer-orders/100 401 in 1ms \ No newline at end of file diff --git a/attached_assets/{9345419A-501D-4DF5-A5FB-45427DF9D9C7}_1756807405113.png b/attached_assets/{9345419A-501D-4DF5-A5FB-45427DF9D9C7}_1756807405113.png new file mode 100644 index 0000000..7747340 Binary files /dev/null and b/attached_assets/{9345419A-501D-4DF5-A5FB-45427DF9D9C7}_1756807405113.png differ