Deleting a mail from the spam folder creates an application error
Bug Description
Everything is said in the title. Nothing special is done, simply going in the spam folder to delete a mail creates this error : "Application error: a client-side exception has occurred while loading 0.email (see the browser console for more information)."
Steps to Reproduce
- Go to spam folder
- Delete a mail
Expected Behavior
Not have an application error and just delete the mail
Actual Behavior
App crash with application error
What browsers are you seeing the problem on?
Chrome
Application Version
latest
Environment Information
- OS: Ubuntu 24.04.2 LTS
- Chrome: Version 136.0.7103.92 (Official Build) (64-bit)
Relevant Log Output
Invalid date _smtpDate
RangeError: Invalid time value
Uncaught Error: Minified React error #310; visit https://react.dev/errors/310 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at ae (87c73c54-505362e2d26dee64.js?dpl=dpl_8EwPNumNNWoXMSQkUCgoyTXMXKUw:1:51383)
at Object.aH [as useMemo] (87c73c54-505362e2d26dee64.js?dpl=dpl_8EwPNumNNWoXMSQkUCgoyTXMXKUw:1:58586)
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '6')
@arthur-crahe
I tried to reproduce the issue but was unable to encounter any problems. Could you please provide additional context or steps to help me investigate further?
https://github.com/user-attachments/assets/7f27c508-e29c-4591-ad88-b35112088a83
I honestly have no clue what could be causing it :/ I noticed that it doenst happen only from the spam folder but from anywhere.
https://github.com/user-attachments/assets/a62986d7-79bd-4dc4-9fe5-5e3158647e49
@arthur-crahe @AbhiArya20 - I believe this is a scope issue and the team is aware cc @MrgSub
This should be fixed :)