Problem/Motivation

FlowDropWorkflowAction imports OrchestrationRequest from the flowdrop_runtime namespace:

use Drupal\flowdrop_runtime\DTO\Orchestrator\OrchestrationRequest;

However, the OrchestrationRequest class was moved to the flowdrop_orchestration module. This causes a fatal error (Class not found) when triggering a FlowDrop workflow from a field widget action.

Proposed resolution

  • Update the use statement in FlowDropWorkflowAction.php to reference the correct namespace:
    • Drupal\flowdrop_orchestration\DTO\Orchestrator\OrchestrationRequest
  • Add flowdrop:flowdrop_orchestration as a module dependency in flowdrop_field_widget_actions.info.yml
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

gxleano created an issue. See original summary.

gxleano’s picture

Issue summary: View changes

  • gxleano committed 8d529cb1 on 1.0.x
    Issue #3575994: Fix conflicts with latest version of FlowDrop
    
gxleano’s picture

Assigned: gxleano » Unassigned
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.