July 11, 2017
6:52 p.m.
On 07/11/2017 10:05 AM, sergio ruiz wrote:
Oh! i forgot to mention.. this method belongs to Order..
so that part is working just fine..
Doesn't matter where the method is, your state machine clearly has blocks stored as instance variables and you're trying to save the state machine as part of the Order; SandstoneDb doesn't support saving blocks. I'd try what Dennis Suggested and store message sends rather than blocks for the guarded method, then it might save fine. Inspect the state machine, any use of blocks has to be removed/changed to message sends in order for it to be persistable by SandstoneDb. -- Ramon Leon http://onsmalltalk.com