I created a ‘bulk’ Smart Action named
mark_as_sent_to_production on my model Contract. On Forest interface, I want to select one or several Contracts and mark them as sent_to_production, which is one option for the
The Smart Action actually works fine :
- I can select one or several Contracts
- It changes the statuses of those Contracts and mark them as
- It reloads the page and displays the new statuses on the table
The problem comes from the fact that the interface displays a flash error message, though it worked fine.
The action xx cannot be reached. Is your server running? Did you configure this Smart Action properly?
In the logs, I see my request returned a 200 status :
Completed 200 OK in 46ms (Views: 0.2ms | ActiveRecord: 24.9ms)
Just before starting other requests for displaying the table :
Started OPTIONS "/forest/Contract?fields...
I am using forest_liana:5.1 for Rails
The issue is found on development and production environments
Thank you very much for your help