-
-
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
from release 16 onwards: pdf merge result for Intervention doesn't show up #24185
Comments
For info at the end of the file , i removed line 920 if (in_array('builddoc', $arrayofmassactions) && ($nbtotalofrecords === '' || $nbtotalofrecords)) |
Same issue in version 18.0.2 /htdocs/commande/list.php |
Same in "Sales Orders" with Dolibarr v18.0.4, pdf are merged but not showing in list. |
I see it's already fixed in develop branch for all lists: dolibarr/htdocs/commande/list.php Line 2793 in 961deff
Why not use array_key_exists('builddoc', $arrayofmassactions) instead of in_array('builddoc', array_keys($arrayofmassactions)) ? And how to have this fix in next release ? You need a PR @eldy ? |
No reason for in_array compared to array_key_exists. Same result. Because PR has been merged in develop branch it will be available in next release (v19). |
nice, I will do that. thank you. |
FIX #24185: v18: display of the merged pdf lists
Bug
The merged file doesn't show up after performing a pdf merge for object type "Intervention".
The merged file is being created and can be found in the documents folder, but that's inconvenient.
I would expect the link to the merged file being displayed below the single files.
This has to be considered as a bug, because it worked up to release 15 and still works in current versions for all other relevant object's I've tested.
Environment Version
16 and newer, including alpha of R18
Environment OS
Linux Debian 5.10
Environment Web server
Apache
Environment PHP
8.1
Environment Database
MariaDB 10.5.18
Environment URL(s)
/htdocs/fichinter/list.php?leftmenu=ficheinter
Expected and actual behavior
I would expect the link to the merged file being displayed below the single files.
Instead the file is being created and can be found in the respective subfolder of the document folder, but there's no link displayed in the window.
Steps to reproduce the behavior
Module Commerce, section Interventions:
Attached files
No response
The text was updated successfully, but these errors were encountered: