ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 3 replies, has 2 voices, and was last updated by  Rodolfo 1 year, 9 months ago.

  • Creator
    Topic
  • #13425

    Rodolfo
    Participant

    Hi there,

    I’m working with a cloned workflow “Custom B2B Sales Process” in order to add some fields. When I try to add a field (Select with 3 options), it generates error while trying to save the workflow.

    "Could not save workflow."

    There is no relevant information being generated in dev.log but I found these logs while inspecting this route:
    /api/rest/latest/workflowdefinition/b2b_flow_sales_funnel_clone_5605aebc51cb3

    “Notice: Undefined index: enum in /projects/orocrm-1.10.0/vendor/oro/platform/src/Oro/Bundle/WorkflowBundle/Model/AttributeGuesser.php on line 337”

    “Notice: Undefined index: enum in /projects/orocrm-1.10.0/vendor/oro/platform/src/Oro/Bundle/WorkflowBundle/Model/AttributeGuesser.php on line 338”

    {“error”:”Catchable Fatal Error: Argument 3 passed to Oro\\Bundle\\WorkflowBundle\\Model\\AttributeGuesser::formatResult() must be of the type array, null given, called in \/projects\/orocrm-1.10.0\/vendor\/oro\/platform\/src\/Oro\/Bundle\/WorkflowBundle\/Model\/AttributeGuesser.php on line 339 and defined in \/projects\/orocrm-1.10.0\/vendor\/oro\/platform\/src\/Oro\/Bundle\/WorkflowBundle\/Model\/AttributeGuesser.php on line 253″}

    Executing xdebug we can see this:

    $this->doctrineTypeMapping[$fieldType][‘type’] is equals to “null”
    $this->doctrineTypeMapping[$fieldType][‘options’] is equals to “null”

    $fieldType is: “enum”, but if we try to find inside $this->doctrineTypeMapping we don’t see any “enum”

    Do you guys have any idea how can I fix this?
    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.