-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra files do not attach V13.0.1 #16420
Comments
I just tested this and can not confirm that the current code has a bug (for me) at this point |
I updated to 13.0.1 yesterday, from 12.0.4, and also experience this issue. Same exact behaviour. |
Dont know if it is related but we can not attach anymore file (the field is missing) in tool "emailing". EDIT: It is still possible, but not in the création tab, only in the edition tab (create a new emailing, then modify, the attach) |
Also experience this issue. Same exact behaviour. |
Same problem. V13.0.1 2021-02-25 10:16:38 DEBUG 192.168.5.100 dol_add_file_process upload_dir=/var/lib/dolibarr/documents/users/3/temp allowoverwrite=1 donotupdatesession=0 savingdocmask= |
@xbloq as you can see in your debug log (good idea to look there) the webserver can not create the directory. |
Yes I know https://wiki.dolibarr.org/index.php/Troubleshooting Dolibarr worked always whit same configuration in another versions . Always same configuration in php open_basedir no value no value I checked with another configurations and same problem, I probably didn't do ok. Really dolibarr upload the file and said it's OK but the file it's deleted Are you sure it's my config problem? |
Same problem, v13.0.1. Just followed the instructions found in the troubleshooting section of the wiki as mentioned above. |
Sorry for my #16436 |
File is deleted just in seconds !
|
@xbloq no problem with that, I think, while the file is created well, here too. |
Sorry, I don't know anything about php |
'modelmailselected', $modelmail_array, $model_mail_selected_id, 1, 0, 0, by 'modelmailselected', $modelmail_array, 0, 1, 0, 0, ' |
Set $model_mail_selected_id to 0 when it is undefined
Set $model_mail_selected_id to 0 when it is undefined
V13.0.1 patched with #16448. [EDIT] |
Congrats @xbloq you rock! At line 464 in
And it works, new attachments are allowed. Back to normal behavior. |
It works! |
It works for me so Can someone add
On line 465 (without applying the workaround proposed by @matDOTviguier or @manu-p) And paste the result here Thanks in advance |
Fix #16420 - V13.0.1 - undefined $model_mail_selected_id
That doesn't work for me. |
Wich version of dolibarr do you use ? I'm on the develop branch |
13.0.1 |
problem occred when upgrading from 13.0 to 13.0.1. |
I'll check what's going on here, it may be a tmp upload file. |
13.0.1 with this change // If list of template is filled '."\n";
|
restart apache, clean browser, same result |
I only received the correct file by mail but after sending the mail the two files remain when opening a new mail delivery |
I was with text plain in my mail. The another file it's a html embebedI t's a page from OMS that I visited months ago .I think this is my problem bit if I open with another browser same result, Checkig if it's always same page |
I'm sorry. I can't reproduce, but I'm not sure that I have understand the situation. |
In my usual language settings when I upload the first time my file_check.pdf, two files are upload and then another problem. I don't know why it's different with my usual language |
|
Hum... I don't use translation so... Maybe the issue is linked to this. I'll check. |
thanks and sorry for my explain |
I just add an other commit to my PR. It seems to be related.
instead of
On line 420 (develop branch). Could you try? |
Work, only file_check.pdf upload, no more file without name, its OK-. |
Ii I apply email template I received file also |
One time I applied
One time I applied email template work also with default template |
Only one thing. The file that I sent remain if I return to sent another email. Should it be deleted automatically? |
I can not test anymore, cause I'm in the bus. But for attached mail withoit using template, I think we should use
on both line (develop: 370 & 420 or for 13.0.1: 354 & 385) |
#fix Dolibarr#16420 Dolibarr#16423 path d'or V14
#Fix Dolibarr#16423 Dolibarr#16420 patch for V13
Bug
[When attaching extra files when sending invoices, the files do not actually attach despite the dialogue saying success]
Environment
Expected and actual behavior
[Expect additional files to attach to email but they do not attach/send despite saying they do]
Steps to reproduce the behavior
[from the send invoice (email) dialogue, ask to open and attach a file. The file requested does not attach despite saying success., This issue was not present in V13.0.0]
The text was updated successfully, but these errors were encountered: