Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12977

Enable mocked expression resolution in Spring context

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.15.0-alpha3, 7.15.0
    • None
    • engine
    • None

      Example wired for Spring Testing doesn't work wit DelegateExecution. Example

      ProcessExpressions.registerCallActivityMock(DELIVERY_PROCESS_KEY)
              // any onExecution doesn't work
              .onExecutionAddVariable("some_var", "value")
              .onExecutionDo(execution -> {
                  //...
              })
              .deploy(rule);
      

      [main] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: Unknown property used in expression: ${addVariablesServiceMock_802ce91d}. Cause: Cannot resolve identifier 'addVariablesServiceMock_802ce91d'

       

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              Yuriy Yuriy Rybakov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: