Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.3.1
-
None
-
None
Description
After assigning Order.state_text (via API) a string with more then 100 characters, JobScheduler stops after failing to write the value into the database, logging the following error message:
SCHEDULER-303 Problem with database: SCHEDULER-306 Error when updating table SCHEDULER_ORDERS: Z-JAVA-105 Java exception org.h2.jdbc.JdbcSQLException: Value too long for column "STATE_TEXT VARCHAR(100)": "'*** VERY LONG TEXT ... ***'' (110)"; SQL statement: UPDATE SCHEDULER_ORDER_HISTORY set "STATE"='END',"STATE_TEXT"='*** VERY LONG TEXT ... ***' where "HISTORY_ID... [sos::scheduler::order::Order::db_update2]