Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Error when Deleting Activities #892

Closed
c0rydoras opened this issue Mar 31, 2023 · 1 comment · Fixed by #898
Closed

Error when Deleting Activities #892

c0rydoras opened this issue Mar 31, 2023 · 1 comment · Fixed by #898

Comments

@c0rydoras
Copy link
Contributor

Issue

While deleting an Attendance i got the following error:

Error: Attempted to handle event `deleteRecord` on <activity:160734> while in state root.deleted.inFlight. 
    _unhandledEvent https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:7457
    send https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:7445
    deleteRecord https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:7408
    _run https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4292
    run https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4255
    deleteRecord https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:7408
    _run https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4292
    run https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4255
    d https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:2969
    deleteRecord https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:7408
    deleteRecord https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:7539
    _run https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4292
    _join https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4291
    join https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4257
    deleteRecord https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:7537
    deleteRecord https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:6786
    destroyRecord https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:6786
    delete https://timed.adfinis.com/assets/timed-0cf6bec9cf79ff3349e23e56f5f4e963.js:561
    wr https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3980
    install https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3982
    b https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3812
    track https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4074
    commit https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3812
    commit https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3817
    Lt https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3819
    _renderRoots https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:1484
    _renderRootsTransaction https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:1489
    _revalidate https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:1489
    invoke https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4228
    flush https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4220
    flush https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4233
    _end https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4290
    _boundAutorunEnd https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4242
    promise callback*n/< https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4205
    flush https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:2968
    _scheduleAutorun https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4304
    _end https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4291
    _boundAutorunEnd https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4242
    promise callback*n/< https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4205
    flush https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:2968
    _scheduleAutorun https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4304
    _end https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4291
    _boundAutorunEnd https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4242
    promise callback*n/< https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4205
    flush https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:2968
    _scheduleAutorun https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4304
    _end https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4291
    _boundAutorunEnd https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4242
    promise callback*n/< https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4205
    flush https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:2968
    _scheduleAutorun https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4304
    _end https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4291
    _boundAutorunEnd https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4242
    promise callback*n/< https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4205
    flush https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:2968
    _scheduleAutorun https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4304
    _ensureInstance https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4302
    schedule https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4262
    <anonymous> https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:2256
    y https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4690
    resolve https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4552
    M https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4500
    getTransitionByIntent https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4600
    transitionByIntent https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4590
    doTransition https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4607
    transitionTo https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4636
    _doTransition https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:2138
    transitionTo https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:1923
    editActivity https://timed.adfinis.com/assets/timed-0cf6bec9cf79ff3349e23e56f5f4e963.js:550
    pr https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3951
    wr https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3980
    install https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3982
    b https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3812
    track https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4074
    commit https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3812
    commit https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3817
    Lt https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:3819
    _renderRoots https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:1484
    _renderRootsTransaction https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:1489
    _revalidate https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:1489
    invoke https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4228
    flush https://timed.adfinis.com/assets/vendor-928cc42d93c840b159a8585ff86ec5aa.js:4220
timed-0cf6bec9cf79ff3349e23e56f5f4e963.js:561:149

Steps to reproduce

  • Start an Activity
  • Stop the Activity
  • Press the delete button as fast as possible
@adfinisbot
Copy link
Member

🎉 This issue has been resolved in version 3.1.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants