You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can recreate the issue with all plugins disabled
Describe the issue
I would like to report an unusual situation.
We set $config['temp_dir_ttl'] = '4h', but upon checking, it seems that Roundcube enforces a minimum value of 6 hours.
It appears that the attachment deletion process in the temporary folder does not verify whether a compose window is open.
As a result, if an email remains open in the compose window for more than 6 hours, the attachments in the temp directory are deleted, even though they still appear to be present in the compose window.
Consequently, if the email is sent, it will be delivered without the attachments, even though they still appear to be attached.
What browser(s) are you seeing the problem on?
Chrome, Edge
What version of PHP are you using?
8.2
What version of Roundcube are you using?
1.6.8
JavaScript errors
No response
PHP errors
No response
The text was updated successfully, but these errors were encountered:
Default is 48 hours for a reason, and minimum is 6 hours.
That being said, in master we already store uploaded files metadata in database. This includes session identifier. So, we could now verify if session exists before we delete the file.
Prerequisites
Describe the issue
I would like to report an unusual situation.
We set $config['temp_dir_ttl'] = '4h', but upon checking, it seems that Roundcube enforces a minimum value of 6 hours.
It appears that the attachment deletion process in the temporary folder does not verify whether a compose window is open.
As a result, if an email remains open in the compose window for more than 6 hours, the attachments in the temp directory are deleted, even though they still appear to be present in the compose window.
Consequently, if the email is sent, it will be delivered without the attachments, even though they still appear to be attached.
What browser(s) are you seeing the problem on?
Chrome, Edge
What version of PHP are you using?
8.2
What version of Roundcube are you using?
1.6.8
JavaScript errors
No response
PHP errors
No response
The text was updated successfully, but these errors were encountered: