tomolimo / processmaker

GLPI plugin that provides an interface with ProcessMaker (http://www.processmaker.com/)
31 stars 11 forks source link

Cannot create process using templets #157

Closed aymankoo closed 1 year ago

aymankoo commented 1 year ago

Describe the bug While trying to create a new process using existing templetes, or import a templete from json file i got an error Can not import because Package Comments is not installed. -- Apache/2.4.56 (Win64) OpenSSL/1.1.1t PHP/8.0.28 -- ProcessMaker 4.6.2

bellow full error stack { "message": "Can not import because Package Comments is not installed.", "exception": "ProcessMaker\Exception\PackageNotInstalledException", "file": "E:\xampp82\processmaker-4.6.2\ProcessMaker\ImportExport\Manifest.php", "line": 111, "trace": [ { "file": "E:\xampp82\processmaker-4.6.2\ProcessMaker\ImportExport\Manifest.php", "line": 87, "function": "checkClass", "class": "ProcessMaker\ImportExport\Manifest", "type": "::" }, { "file": "E:\xampp82\processmaker-4.6.2\ProcessMaker\ImportExport\Importer.php", "line": 30, "function": "fromArray", "class": "ProcessMaker\ImportExport\Manifest", "type": "::" }, { "file": "E:\xampp82\processmaker-4.6.2\ProcessMaker\ImportExport\Importer.php", "line": 20, "function": "loadManifest", "class": "ProcessMaker\ImportExport\Importer", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\ProcessMaker\Templates\ProcessTemplate.php", "line": 237, "function": "__construct", "class": "ProcessMaker\ImportExport\Importer", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\ProcessMaker\Models\Template.php", "line": 72, "function": "create", "class": "ProcessMaker\Templates\ProcessTemplate", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\ProcessMaker\Http\Controllers\Api\TemplateController.php", "line": 116, "function": "create", "class": "ProcessMaker\Models\Template", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Routing\Controller.php", "line": 54, "function": "create", "class": "ProcessMaker\Http\Controllers\Api\TemplateController", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\ProcessMaker\Http\Controllers\Controller.php", "line": 36, "function": "callAction", "class": "Illuminate\Routing\Controller", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php", "line": 45, "function": "callAction", "class": "ProcessMaker\Http\Controllers\Controller", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Routing\Route.php", "line": 262, "function": "dispatch", "class": "Illuminate\Routing\ControllerDispatcher", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Routing\Route.php", "line": 205, "function": "runController", "class": "Illuminate\Routing\Route", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Routing\Router.php", "line": 721, "function": "run", "class": "Illuminate\Routing\Route", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 128, "function": "Illuminate\Routing\{closure}", "class": "Illuminate\Routing\Router", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\ProcessMaker\Http\Middleware\TemplateAuthorization.php", "line": 26, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 167, "function": "handle", "class": "ProcessMaker\Http\Middleware\TemplateAuthorization", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php", "line": 21, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 167, "function": "handle", "class": "Illuminate\Foundation\Http\Middleware\TransformsRequest", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php", "line": 50, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 167, "function": "handle", "class": "Illuminate\Routing\Middleware\SubstituteBindings", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\ProcessMaker\Http\Middleware\SetLocale.php", "line": 33, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 167, "function": "handle", "class": "ProcessMaker\Http\Middleware\SetLocale", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Auth\Middleware\Authenticate.php", "line": 44, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 167, "function": "handle", "class": "Illuminate\Auth\Middleware\Authenticate", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 103, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Routing\Router.php", "line": 723, "function": "then", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Routing\Router.php", "line": 698, "function": "runRouteWithinStack", "class": "Illuminate\Routing\Router", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Routing\Router.php", "line": 662, "function": "runRoute", "class": "Illuminate\Routing\Router", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Routing\Router.php", "line": 651, "function": "dispatchToRoute", "class": "Illuminate\Routing\Router", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php", "line": 167, "function": "dispatch", "class": "Illuminate\Routing\Router", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 128, "function": "Illuminate\Foundation\Http\{closure}", "class": "Illuminate\Foundation\Http\Kernel", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\ProcessMaker\Http\Middleware\BrowserCache.php", "line": 31, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 167, "function": "handle", "class": "ProcessMaker\Http\Middleware\BrowserCache", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Http\Middleware\TrustProxies.php", "line": 39, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 167, "function": "handle", "class": "Illuminate\Http\Middleware\TrustProxies", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php", "line": 21, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull.php", "line": 31, "function": "handle", "class": "Illuminate\Foundation\Http\Middleware\TransformsRequest", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 167, "function": "handle", "class": "Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php", "line": 21, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TrimStrings.php", "line": 40, "function": "handle", "class": "Illuminate\Foundation\Http\Middleware\TransformsRequest", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 167, "function": "handle", "class": "Illuminate\Foundation\Http\Middleware\TrimStrings", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ValidatePostSize.php", "line": 27, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 167, "function": "handle", "class": "Illuminate\Foundation\Http\Middleware\ValidatePostSize", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance.php", "line": 86, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 167, "function": "handle", "class": "Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php", "line": 103, "function": "Illuminate\Pipeline\{closure}", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php", "line": 142, "function": "then", "class": "Illuminate\Pipeline\Pipeline", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php", "line": 111, "function": "sendRequestThroughRouter", "class": "Illuminate\Foundation\Http\Kernel", "type": "->" }, { "file": "E:\xampp82\processmaker-4.6.2\public\index.php", "line": 52, "function": "handle", "class": "Illuminate\Foundation\Http\Kernel", "type": "->" } ] }

aymankoo commented 1 year ago

Apache/2.4.56 (Win64) OpenSSL/1.1.1t PHP/8.0.28 ProcessMaker 4.6.2

tomolimo commented 1 year ago

Hello @aymankoo Could you post here the all versions which are used? I mean:

  1. GLPI version
  2. ProcessMaker plugin version
  3. ProcessMaker server version

Thank you, Regards, Tomolimo

tomolimo commented 1 year ago

Hello @aymankoo I close this issue as there is no answer to my questions. Feel free to reopen it if you want to answer them. Thank you, Regards, Tomolimo