ECA Error on Model Creation

Created on 19 September 2022, over 2 years ago
Updated 22 July 2023, over 1 year ago

Problem/Motivation

When I create a new model I get an eca error in drupal log stating

Found config field Workflow transition action config in workflow_node_next_state_action with non-supported value.

I am unable to save a model to even test usage, receiving

Error: Class 'Mtownsend\XmlToArray\XmlToArray' not found in Drupal\eca_modeller_bpmn\ModellerBpmnBase->prepareForUpdate() (line 69 of C:\xampp\htdocs\eca\modules\eca\modules\modeller_bpmn\src\ModellerBpmnBase.php)

in drupal logs when I hit save. It does not matter if this is a new (empty) model, or one with processes and tasks.

I am utilizing the Workflow module (not Workflows, that's included in core), that has states and transitions set up.

I should note... the version of ECA i'm using is 1.0.3, and the BPMN Modeler is BMPN.iO for ECA version 1.0.1

πŸ’¬ Support request
Status

Fixed

Version

1.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States rreedy Michigan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States hedrickbt

    I am seeing the same issue. We have not switched to a composer based install yet. We still download the .tar.gz module files and extract.

    If installing this way is not supported why are the modules provided on drupal.org?

    Error: Class 'Mtownsend\XmlToArray\XmlToArray' not found in Drupal\eca_modeller_bpmn\ModellerBpmnBase->prepareForUpdate() (line 85 of /.../drupal/rm/sites/all/modules/eca/modules/modeller_bpmn/src/ModellerBpmnBase.php) @backtrace_string.

    I installed ECA by using the downloaded tar.gz files of the modules

    eca-1.1.2.tar.gz
    eca_cm-1.0.5.tar.gz
    bpmn_io-1.1.1.tar.gz

    Drupal version 9.4.8

  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    When installing manually, i.e. without composer, one has to also install all the dependencies and make them available to the stack's autoloader. TBH, this is cumbersome and not recommended. We really encourage you to use composer.

  • πŸ‡ΈπŸ‡°Slovakia coaston

    Hello hedrickbt

    In my case we don't have access to internet = VPN so alternative method is to use ludwig β†’ and install dependancy manually.

    1. Create ludwig.json file with the following code :

    {
        "require": {
            "mtownsend/xml-to-array": {
                "version": "2.0.0",
                "url": "https://github.com/mtownsend5512/xml-to-array/archive/refs/heads/master.zip"
            }
        }
    }

    2. save that json file to the main folder of that module bpmn_io

    3.In case your web is connected to internet > navigate to ludwig in /admin/reports/packages and download missing dependancy

    4.It should be resolved, in my case (no internet) I had to create folder manually in model as follow :
    \bpmn_io\lib\mtownsend-xml-to-array\2.0.0 and extract all data from above link : github

    5.It works for me. This is the way how you can download any depencancy for any module, just create ludwiq.json file manually and override github link and folders.

  • πŸ‡­πŸ‡·Croatia devad

    Re: #8

    The patch posted here is a complete Ludwig integration solution for BPMN.iO module:

    ✨ BPMN.iO - Add Ludwig integration Closed: won't fix

Production build 0.71.5 2024