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
After some more testing, I can confirm that the issue occurs only in the execute around callback if the block is not called. The interaction below replicates the issue.
@AaronLasseigne sorry for not testing properly when I first reported the issue and the poor/wrong title and description.
jonian
changed the title
[3.8.2] Errors added in callbacks are lost on execute
[3.8.2] valid? returns true if block not called and error added in execute around callback
Aug 8, 2020
Hi @AaronLasseigne, thanks for this gem!
In
v3.8.2
,valid?
returns true if block is not called and error added in execute around callback. This bug also breaks active_interaction-extrashalt!
method, as reported in antulik/active_interaction-extras#3.The issue is on https://github.com/AaronLasseigne/active_interaction/blob/master/lib/active_interaction/concerns/runnable.rb#L74 and can be fixed by replacing the run method with:
The text was updated successfully, but these errors were encountered: