Skip to content

0.1.2

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 27 Aug 14:01
· 2 commits to master since this release

Included commits: 0.1.1...0.1.2

Fixes

  • Fixed the Back Office workflow screens to report a missing workflow or workflow version with an error message and a redirect to the workflow list, instead of failing on a non-existing entity.
  • Fixed WorkflowFacade::updateStateMachineProcessCollection() to return a "The workflow was not found." error when the requested workflow does not exist.

Improvements

  • Introduced StateMachineProcessExistenceReaderInterface with getExistingStateMachineProcessIds() and getTakenStateMachineNames() to resolve workflow existence and state machine name uniqueness for an entire collection in a single query.
  • Introduced StateMachineProcessReaderInterface and StateMachineProcessVersionReaderInterface in the Communication layer to look up a workflow or a workflow version by ID for the Back Office screens.
  • Introduced AbstractWorkflowController to centralize the missing-entity error reporting shared by the workflow, version, instance, and trigger screens.
  • Added Zed translations for the missing workflow and missing workflow version messages.

Adjustments

  • Changed the ProcessWriter constructor to accept StateMachineProcessExistenceReaderInterface instead of WorkflowRepositoryInterface.