We're updating the issue view to help you get more done. 

Error in console when content type does not have workflow

Description

Steps

  • Create an article, with a content type which does not have a workflow attached

  • --> Result: console contains an error

  • URL: /admin/workflow/change_state?workflow=undefined&state=undefined&_format=json

  • Message: {"error":{"code":500,"message":"Internal Server Error"}}

Note: I think the AssetBundle should be loaded to load the Workflow javascript, to make sure it is only loaded when the workflow formtype is loaded

Environment

None

Deployment actions

None

Technical tasks

None

Status

Assignee

Unassigned

Reporter

Marijn Otte

Labels

None

Client

Integrated Marijn

External issue ID

None

Follow up date

None

Code reviewer

None

Developer

None

Plan date

None

Max. hours

None

Error message

None

Min. hours

None

Product owner

Marijn Otte

Refiner

None

Switches

None

Dev hour estimate

None

Epic Link

Fix versions

Priority

Major