- ๐ฎ๐ณ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
12 months 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
12 months ago 7:55am 15 July 2023 - @rajab-natshah opened merge request.
- Issue was unassigned.
- Status changed to Needs review
12 months 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
11 months ago 3:16pm 26 July 2023