novus/salat — Issue #26: Insertion does not work on SalatDAO
Author: acovarrubias
Created: 2012-01-11 23:18:59+00:00
State: open

Everything was working great on my system 24 hours ago... now I'm getting this exception which seems to be related to the latest change:

`com.novus.salat.dao.SalatInsertError: SalatDAO[Ticket,ObjectId](tickets): insert failed!
[info]
[info] Collection: tickets
[info] WriteConcern: WriteConcern { "getlasterror" : 1 , "w" : 1 , "wtimeout" : 0}
[info] WriteResult: { "n" : 0 , "connectionId" : 8 , "wtime" : 0 , "err" : null , "ok" : 1.0}
[info]
[info] FAILED TO INSERT DBO
[info] { "_typeHint" : "com.ign.topaz.domain.Ticket" , "userId" : "testDao" , "hash" : "8101cfdf444add51f4031f3b34591a50a7f6265f" , "created" : { "$date" : "2012-01-11T23:04:31Z"} , "expires" : { "$date" : "2012-01-10T23:04:31Z"} , "active" : true , "_id" : { "$oid" : "4f0e157f0364bf8c90dcf409"}}
[info] at com.novus.salat.dao.SalatDAO.insert(SalatDAO.scala:206)`

Any insert works :-( Please HELP!