Hi,
I was trying to set hook on-add-item-completed, i expected this hook
to guarantee that submitted object would be in mysql DB for sure,
because i need to work with this object(clsql:select it) in the hook.
But select was keep returning me nil. So I had to change persist-
object method:
71c71
<       (if (and (not success)
---
>       (when (and (not success)
73,74c73
<           (setf (object-id object) nil)
<           (clsql:commit :database store))))))
---
>         (setf (object-id object) nil))))))
Is there simplier way?

-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en.

Reply via email to