Expected behavior
Trigger triggerSmartAction
in Smart Views should work stable and shouldn’t raise any error
Actual behavior
We’re triggering Smart Action in Smart Views. However, instead of triggering Smart Action from .hbs template as Forestadmin document here, we’re triggering Smart Action from javascript file.
The code looks like this:
this.actions.triggerSmartAction.call(
this,
this.collection,
"Add Card",
{
...this.newCard,
loanID: loanNumber
}
);
This function worked stable until May 25th. Now we usually meet the error when use this function.
Failure Logs
TypeError: i is not a function
at client-8b5739fb63a9086c512f0346259b057c.js:formatted:9829
at x (vendor-da149b7b99d0ae9d25e160538c12fc3b.js:formatted:40205)
at vendor-da149b7b99d0ae9d25e160538c12fc3b.js:formatted:40228
at t.invokeWithOnError (vendor-da149b7b99d0ae9d25e160538c12fc3b.js:formatted:37213)
at e.t.flush (vendor-da149b7b99d0ae9d25e160538c12fc3b.js:formatted:37147)
at e.t.flush (vendor-da149b7b99d0ae9d25e160538c12fc3b.js:formatted:37251)
at e.r._end (vendor-da149b7b99d0ae9d25e160538c12fc3b.js:formatted:37577)
at e.r.end (vendor-da149b7b99d0ae9d25e160538c12fc3b.js:formatted:37382)
at e.r._run (vendor-da149b7b99d0ae9d25e160538c12fc3b.js:formatted:37606)
at e.r._join (vendor-da149b7b99d0ae9d25e160538c12fc3b.js:formatted:37594)
Context
- Package Version: forest-express-sequelize 5.7.0
- Express Version: 4.17.1
- Sequelize Version: 5.15.2
- Database Dialect: Postgres (pg) 6.1.0
- Database Version: (not sure what’s it?)
- Project Name: scratchpay-payment-service