| Anonymous | Login | Signup for a new account | 2010-07-29 13:10 CDT |
| My View | View Issues | My Account |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||||
| 0003989 | [MindTouch] UI | major | @0@ | 2008-05-12 18:39 | 2008-07-18 14:09 | ||||||||
| Reporter | MaxM | View Status | public | ||||||||||
| Assigned To | MaxM | ||||||||||||
| Priority | normal | Resolution | fixed | ||||||||||
| Status | resolved | ||||||||||||
| Summary | 0003989: Error when creating users with MySql running in strict mode | ||||||||||||
| Description |
The below error was reported here http://forums.opengarden.org/showpost.php?p=14181&postcount=8 [^] This was introduced in 8.05 by r8417 where user_options is no longer being set for the user insert query. Since the user_options field is a blob and is non-nullable it requires a value upon insert when mysql is running in strict mode. By default mysql will accept no value and save an empty string. As a temporary workaround until the next service release, set mysql to operate in non-strict mode. More info here: http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html [^] |
||||||||||||
| Additional Information |
Request URI: http://localhost:8081/deki/users?dream.out.format=php&dream.in.host=wiki.lavenderdigital.com.au&dream.in.scheme=http&dream.in.origin=192.168.203.66&accountpassword=xxx [^] Server response: Array ( [exception] => Array ( [message] => Field 'user_options' doesn't have a default value [source] => MySql.Data [stacktrace] => Array ( [frame] => Array ( [0] => MySql.Data.MySqlClient.MySqlStream.OpenPacket () [0x00000] [1] => MySql.Data.MySqlClient.NativeDriver.ReadResult (System.UInt64& affectedRows, System.Int64& lastInsertId) [0x00000] [2] => MySql.Data.MySqlClient.MySqlDataReader.GetResultSet () [0x00000] [3] => MySql.Data.MySqlClient.MySqlDataReader.NextResult () [0x00000] ) ) [type] => MySql.Data.MySqlClient.MySqlException ) ) |
||||||||||||
| Tags | No tags attached. | ||||||||||||
| From Customer | No | ||||||||||||
| Likelihood | Affects average number of users | ||||||||||||
| Platform | All | ||||||||||||
| Regression | No | ||||||||||||
| Skin | All | ||||||||||||
| Version | trunk | ||||||||||||
| Target Release | 8.05.1 | ||||||||||||
| Browser | , All, | ||||||||||||
| Days Left | 0.5 | ||||||||||||
| Attached Files | |||||||||||||
|
|
|||||||||||||
| Mantis 1.1.1[^] Copyright © 2000 - 2008 Mantis Group |