Issue description
The client sends temporary ids to the server on new items. This causes under a certain constellation of OS and AMP the insert statement to fail:
MySQL error occurred. {nr: 1366, msg: 'Incorrect integer value:
'Temp-Topic-1209019350404' for column 'id' at row 1', query: 'INSERT INTO topics ...
Created: 2008-04-24 14:22:25, Robert Cerny Modified: 2009-08-21 08:59:06, Robert Cerny
Link,
No reifier
Comment
The insert statement should contain null instead of the temporary id. If the id holds a temporary value on the client, it should not be contained in the JSON document that is sent to the server or it should be null.
Created: 2008-04-24 16:12:09, Robert Cerny Modified: 2008-04-24 16:12:09, Robert Cerny
Link,
No reifier
|
Reporting date2008-04-24 Created: 2008-04-24 14:22:26, Robert Cerny Modified: 2008-04-24 14:22:26, Robert Cerny
Link,
No reifier
Planned for version
Topincs 2.3.1
Created: 2008-04-24 14:23:07, Robert Cerny Modified: 2008-04-24 14:23:07, Robert Cerny
Link,
No reifier
Reported by
Bernard Chabot
Created: 2008-04-24 14:22:26, Robert Cerny Modified: 2008-04-24 14:22:26, Robert Cerny
Link,
No reifier
Alexander Johannesen
Created: 2008-04-24 15:07:28, Robert Cerny Modified: 2008-04-24 15:07:28, Robert Cerny
Link,
No reifier
Discovered in version
Topincs 2.2.0
Created: 2008-04-24 14:22:26, Robert Cerny Modified: 2008-04-24 14:22:26, Robert Cerny
Link,
No reifier
Topincs 2.3.0
Created: 2008-04-24 15:11:05, Robert Cerny Modified: 2008-04-24 15:11:05, Robert Cerny
Link,
No reifier
Resolving date2008-04-27 Created: 2008-04-27 19:49:07, Robert Cerny Modified: 2008-04-27 19:49:07, Robert Cerny
Link,
No reifier
Resolved by
Robert Cerny
Created: 2008-04-27 19:49:06, Robert Cerny Modified: 2008-04-27 19:49:06, Robert Cerny
Link,
No reifier
Resolved in version
Topincs 2.3.1
Created: 2008-04-27 19:49:06, Robert Cerny Modified: 2008-04-27 19:49:06, Robert Cerny
Link,
No reifier
|