You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Somewhere along the way, it looks like __tags__ is getting set to an empty hash in our workitems. We're storing workitems in Mongo outside of Ruote, so it may be that Mongoid/Mongo is converting the __tags__ value to a hash, but just wanted to ping you to see if you had any ideas where to look within Ruote that could be causing this, so I could try to get a test case prepared.
I've looked at the code for add_tag and remove_tag and yes, it's expecting an Array instance. We could tell those two methods to ignore tags if it's not containing an Array, but I'm not sure if silently working around non Array values is the right solution.
Keeping it open for now.
BTW, I have not forgotten #42 I want to get back working on it very soon
I looked into this a bit more and it looks like __tags__ is getting set to an empty hash when the workflow resets to the beginning. I don't have a simplified test case yet but I'll try to get that put together in the next couple of days.
Thanks for the note on the other issue - I do have a workaround for the time being using :break_if, so no rush.
Hi John,
Somewhere along the way, it looks like
__tags__
is getting set to an empty hash in our workitems. We're storing workitems in Mongo outside of Ruote, so it may be that Mongoid/Mongo is converting the__tags__
value to a hash, but just wanted to ping you to see if you had any ideas where to look within Ruote that could be causing this, so I could try to get a test case prepared.The error message and trace are below.
Thanks,
Chris
The text was updated successfully, but these errors were encountered: