- 🇮🇳India hash6
@Rajab Natshah I had the same issue while trying to view activity types when we click on New Activity page
Page route - /module/manager/get-activity-typesError: Call to undefined function Drupal\opigno_module\Controller\shell_exec() in Drupal\opigno_module\Controller\OpignoModuleManagerController::getPptConvertAllow() (line 446 of /opilms/web/modules/contrib/opigno_module/src/Controller/OpignoModuleManagerController.php)
Your code in patch resolves the issue, we will have to update code to all places where it has shell_access function.
- Status changed to Needs work
over 1 year ago 12:35pm 10 July 2023 - Issue was unassigned.
- 🇯🇴Jordan Rajab Natshah Jordan
Re-role for the patch to work after opigno_module-3.1.1 →
- Assigned to Rajab Natshah
- Status changed to Active
over 1 year ago 7:55am 15 July 2023 - @rajab-natshah opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 8:02am 15 July 2023 - 🇨🇭Switzerland axelm
Hi,
Thanks for raising this point.
We cannot apply the patch suggested for several reasons:- It doesn’t fit code standards (static calls of services instead of dependency injection);
\Drupal::service('file_system')->copy($source_folder, $dest_folder);
- this piece of code will not work because it’s possible to copy only files using Drupal file system, not directories.
Submitted merge request could not be approved for the same reasons + it’s created to branch 8.x-1.x that is not the latest version.
We will implement it in a different way and include this in the next Opigno release. - Status changed to Downport
over 1 year ago 3:16pm 26 July 2023