Exiting smart action alert browser message popup appears every single time even after Smart Action finished

Feature(s) impacted

Smart Actions

Observed behavior

We get this popup alert message “The “#ACTION_NAME” form values will be lost, are you sure to continue?”
from any thing we do on the page, even after the smart action already finished.

Expected behavior

Stop getting these alert messages

Failure Logs

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'manager')
    at Lt.commit (vendor-b22584ca7f56c6365d876dac31ad6280.js:58:376182)
    at Dt.commit (vendor-b22584ca7f56c6365d876dac31ad6280.js:58:377205)
    at Nt (vendor-b22584ca7f56c6365d876dac31ad6280.js:58:377370)
    at Cn._renderRoots (vendor-b22584ca7f56c6365d876dac31ad6280.js:58:77371)
    at Cn._renderRootsTransaction (vendor-b22584ca7f56c6365d876dac31ad6280.js:58:77731)
    at Cn._revalidate (vendor-b22584ca7f56c6365d876dac31ad6280.js:58:78211)
    at invoke (vendor-b22584ca7f56c6365d876dac31ad6280.js:58:418825)
    at d.flush (vendor-b22584ca7f56c6365d876dac31ad6280.js:58:417895)
    at p.flush (vendor-b22584ca7f56c6365d876dac31ad6280.js:58:419675)
    at B._end (vendor-b22584ca7f56c6365d876dac31ad6280.js:58:424760)
    at B._boundAutorunEnd (vendor-b22584ca7f56c6365d876dac31ad6280.js:58:421182)

TypeError: Cannot read properties of undefined (reading 'relationshipMeta')
    at ct.referenceFor (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:347453)
    at e.belongsTo (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:252558)
    at e.reloadRelationship (client-1e76a941a94c279d46fe5111d7a57224.js:1:383378)
    at e.query (client-1e76a941a94c279d46fe5111d7a57224.js:1:383160)
    at s.fetchRecordsList (client-1e76a941a94c279d46fe5111d7a57224.js:1:4143879)
    at fetchRecordsList.next (<anonymous>)
    at e.GeneratorState.step (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:425598)
    at e.TaskInstanceExecutor.generatorStep (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:444013)
    at e.TaskInstanceExecutor.handleResolvedContinueValue (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:442960)
    at e.TaskInstanceExecutor.proceedSync (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:442869)
    at e.TaskInstanceExecutor.start (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:442045)
    at i.start (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:439682)
    at vendor-b22584ca7f56c6365d876dac31ad6280.js:139:430172
    at Array.forEach (<anonymous>)
    at r.process (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:430158)
    at r.refresh (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:431967)
    at r.perform (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:431744)
    at h._performShared (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:463883)
    at h._perform (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:463609)
    at s.getRecords (client-1e76a941a94c279d46fe5111d7a57224.js:1:4145229)
    at getRecords.next (<anonymous>)
    at e.GeneratorState.step (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:425598)
    at e.TaskInstanceExecutor.generatorStep (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:444013)
    at e.TaskInstanceExecutor.handleResolvedContinueValue (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:442960)
    at e.TaskInstanceExecutor.proceedSync (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:442869)
    at e.TaskInstanceExecutor.start (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:442045)
    at i.start (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:439682)
    at vendor-b22584ca7f56c6365d876dac31ad6280.js:139:430172
    at Array.forEach (<anonymous>)
    at r.process (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:430158)
    at r.refresh (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:431967)
    at r.perform (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:431744)
    at h._performShared (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:463883)
    at h._perform (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:463609)
    at t.fetchRecords (client-1e76a941a94c279d46fe5111d7a57224.js:1:1193149)
    at fetchRecords.next (<anonymous>)
    at e.GeneratorState.step (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:425598)
    at e.TaskInstanceExecutor.generatorStep (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:444013)
    at e.TaskInstanceExecutor.handleResolvedContinueValue (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:442960)
    at e.TaskInstanceExecutor.proceedSync (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:442869)
    at e.TaskInstanceExecutor.start (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:442045)
    at i.start (vendor-b22584ca7f56c6365d876dac31ad6280.js:139:439682)
    at vendor-b22584ca7f56c6365d876dac31ad6280.js:139:430172
    at Array.forEach (<anonymous>)

Context

  • Project name: Empathy
  • Team name: Engineering
  • Environment name: All (production, dev, etc )
  • Agent type & version: forest-express
  • Recent changes made on your end if any: …
1 Like

Hi @Avishai_Lippner and welcome in our community ! :champagne:

Could you please share a video reproducing your error (with the dev console open) ? This will help me a lot understand what happened :pray:

I can, but i’d prefer to do it privately, is there any way to do so right here?

Yes click on my picture and you’ll be able to send me a private message :wink:

1 Like

I sent you a private message

1 Like

Hi @vince,
is there any update on your side?

Hey @Avishai_Lippner,

Sorry for the delay I’m quite busy :sweat_smile:.
Could you please open the first error that happens (the one saying reading manager) and send the full stacktrace please :pray: ?

Full stacktrace:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'manager') at Lt.commit (vendor-b22584ca7f56c…ad6280.js:58:376182)
  at Dt.commit (vendor-b22584ca7f56c…ad6280.js:58:377205)
  at Nt (vendor-b22584ca7f56c…ad6280.js:58:377370)
  at Cn._renderRoots (vendor-b22584ca7f56c…1ad6280.js:58:77371)
  at Cn._renderRootsTransaction (vendor-b22584ca7f56c…1ad6280.js:58:77731)
  at Cn._revalidate (vendor-b22584ca7f56c…1ad6280.js:58:78211)
  at invoke (vendor-b22584ca7f56c…ad6280.js:58:418825)
  at d.flush (vendor-b22584ca7f56c…ad6280.js:58:417895)
  at p.flush (vendor-b22584ca7f56c…ad6280.js:58:419675)
  at B._end (vendor-b22584ca7f56c…ad6280.js:58:424760)
  at B._boundAutorunEnd (vendor-b22584ca7f56c…ad6280.js:58:421182)
  at commit (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at Nt (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _renderRoots (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _renderRootsTransaction (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _revalidate (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at invoke (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _end (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at B._boundAutorunEnd (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at Promise.then (async)
  at r (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _scheduleAutorun (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _end (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at B._boundAutorunEnd (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at Promise.then (async)
  at r (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _scheduleAutorun (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _end (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at B._boundAutorunEnd (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at Promise.then (async)
  at r (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _scheduleAutorun (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _end (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at B._boundAutorunEnd (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at Promise.then (async)
  at r (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _scheduleAutorun (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _end (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at B._boundAutorunEnd (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at Promise.then (async)
  at r (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _scheduleAutorun (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _end (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at B._boundAutorunEnd (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at Promise.then (async)
  at r (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _scheduleAutorun (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _end (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at B._boundAutorunEnd (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at Promise.then (async)
  at r (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _scheduleAutorun (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _end (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at B._boundAutorunEnd (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at Promise.then (async)
  at r (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _scheduleAutorun (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _end (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at B._boundAutorunEnd (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at Promise.then (async)
  at r (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _scheduleAutorun (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _end (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at B._boundAutorunEnd (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at Promise.then (async)
  at r (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at flush (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _scheduleAutorun (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at _ensureInstance (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at schedule (vendor-b22584ca7f56c…76dac31ad6280.js:58)
  at recordDidChange (vendor-b22584ca7f56c…6dac31ad6280.js:139)
  at updateRecordArrays (vendor-b22584ca7f56c…6dac31ad6280.js:139)
  at setup (vendor-b22584ca7f56c…6dac31ad6280.js:139)
  at transitionTo (vendor-b22584ca7f56c…6dac31ad6280.js:139)
  at willCommit (vendor-b22584ca7f56c…6dac31ad6280.js:139)
  at send (vendor-b22584ca7f56c…6dac31ad6280.js:139)
  at adapterWillCommit (vendor-b22584ca7f56c…6dac31ad6280.js:139)
  at scheduleSave (vendor-b22584ca7f56c…6dac31ad6280.js:139)
  at save (vendor-b22584ca7f56c…6dac31ad6280.js:139)
  at save (vendor-b22584ca7f56c…6dac31ad6280.js:139)
  at track (client-deffa3f6793ae…70092ba98b401b.js:1)
  at trackWrite (client-deffa3f6793ae…70092ba98b401b.js:1)
  at callActionOnLiana (client-deffa3f6793ae…70092ba98b401b.js:1)
  at await in callActionOnLiana (async) 
  at triggerCustomAction (client-deffa3f6793ae…70092ba98b401b.js:1)
  at callCustomAction (client-deffa3f6793ae…70092ba98b401b.js:1)
  at saveAction (client-deffa3f6793ae…70092ba98b401b.js:1)
  at onClick (client-deffa3f6793ae…70092ba98b401b.js:1)
  at o (chunk.675.c87c323….js):2|

I’ll create a bug ticket right now, thank you for the Stack Trace it helped m a lot :pray:

Hello @Avishai_Lippner,

I tried to reproduce on my end, and could not find a way to have the same issue on my side. Could you please send me the response that is sent by your agent when it executes the action?

Thanks