The ContentSubscriber has a error in the preUpdate

Description

When the state field is empty in the data array then the state field is set with the current state from the database. The problem is that a Workflow\State is returned while a Definition\State is expected.

I have attached a pathc to fix this problem.

Test scenarios

  • Create a new article with workflow

  • Transition the article to a new status

  • Status should be saved

Technical tasks

None

Deployment actions

None

Status

Assignee

Unassigned

External issue ID

None

Client

Integrated Marijn

Min. hours

None

Dev hour estimate

None

Sprint

None

Fix versions

Configure