{"action":"opened","issue":{"url":"https://api.github.com/repos/socioboard/socioboard/issues/15","labels_url":"https://api.github.com/repos/socioboard/socioboard/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/socioboard/socioboard/issues/15/comments","events_url":"https://api.github.com/repos/socioboard/socioboard/issues/15/events","html_url":"https://github.com/socioboard/socioboard/issues/15","id":56111464,"number":15,"title":"New User Error","user":{"login":"swaredev","id":2796259,"avatar_url":"https://avatars.githubusercontent.com/u/2796259?v=3","gravatar_id":"","url":"https://api.github.com/users/swaredev","html_url":"https://github.com/swaredev","followers_url":"https://api.github.com/users/swaredev/followers","following_url":"https://api.github.com/users/swaredev/following{/other_user}","gists_url":"https://api.github.com/users/swaredev/gists{/gist_id}","starred_url":"https://api.github.com/users/swaredev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swaredev/subscriptions","organizations_url":"https://api.github.com/users/swaredev/orgs","repos_url":"https://api.github.com/users/swaredev/repos","events_url":"https://api.github.com/users/swaredev/events{/privacy}","received_events_url":"https://api.github.com/users/swaredev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-31T04:04:28Z","updated_at":"2015-01-31T04:04:28Z","closed_at":null,"body":"Get the following error in the log file when adding a new user\r\n\r\nThe ID column is Binary(16) and the data being put into it is a GUID. Looking through the tables and code this seems to be used everywhere. \r\n\r\n\r\nERROR2015-01-30 08:31:05 Class:? Method:lambda_method Line #: 0  – Could not synchronize database state with session\r\nNHibernate.Exceptions.GenericADOException: could not insert: [Domain.Socioboard.Domain.User#da2538b7-16e5-4f1c-be7c-393c450d05c4][SQL: INSERT INTO User (UserName, EmailId, ProfileUrl, AccountType, CreateDate, ExpiryDate, UserStatus, Password, TimeZone, PaymentStatus, ActivationStatus, CouponCode, ReferenceStatus, RefereeStatus, UserType, ChangePasswordKey, IsKeyUsed, ChangeEmailKey, IsEmailKeyUsed, Id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)] ---> MySql.Data.MySqlClient.MySqlException: Data too long for column 'Id' at row 1\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery(IDbCommand cmd)\r\n   at NHibernate.AdoNet.NonBatchingBatcher.AddToBatch(IExpectation expectation)\r\n   at NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object id, Object[] fields, Boolean[] notNull, Int32 j, SqlCommandInfo sql, Object obj, ISessionImplementor session)\r\n   --- End of inner exception stack trace ---\r\n   at NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object id, Object[] fields, Boolean[] notNull, Int32 j, SqlCommandInfo sql, Object obj, ISessionImplementor session)\r\n   at NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object id, Object[] fields, Object obj, ISessionImplementor session)\r\n   at NHibernate.Action.EntityInsertAction.Execute()\r\n   at NHibernate.Engine.ActionQueue.Execute(IExecutable executable)\r\n   at NHibernate.Engine.ActionQueue.ExecuteActions(IList list)\r\n   at NHibernate.Engine.ActionQueue.ExecuteActions()\r\n   at NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IEventSource session)\r\n\r\n\r\n"}}