|
All checks were successful
Deploy netdiag / deploy (push) Successful in 14s
protocols.php (POST) gab bei JEDEM Sync HTTP 500 zurueck — 0 Protokolle wurden je gespeichert. Ursache: protocol/device/measurement-Klassen deklarierten das tms-Feld im $fields-Array als 'notnull' => 1. Dolibarrs createCommon() bricht ab (-1), wenn ein notnull-Feld den Wert NULL hat und kein 'default' gesetzt ist. tms wird von der App nie gesetzt (die DB fuellt es per CURRENT_TIMESTAMP), also schlug jedes Insert fehl, bevor es ueberhaupt an die DB ging. Fix: tms auf 'notnull' => 0 — so wie es der Dolibarr-Modul-Builder auch generiert. Die DB-Spalte bleibt NOT NULL DEFAULT CURRENT_TIMESTAMP. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| netdiagdevice.class.php | ||
| netdiagmeasurement.class.php | ||
| netdiagprotocol.class.php | ||