Problem/Motivation

Currently workflow type key is integer and it's hard to get the type from it:

Proposed resolution

use machine name.

Remaining tasks

Discuss

User interface changes

No

API changes

TBC

Data model changes

TBC

Comments

vijaycs85 created an issue. See original summary.

manuel garcia’s picture

Issue tags: +Vienna2017
sam152’s picture

StatusFileSize
new183.63 KB

I can't reproduce this:

vijaycs85’s picture

wow, that looks interesting @Sam152. you can see the tests failing because of key issue on #2902018: Use array_column instead of array_map where possible in the Workflows module. Probably I am missing some settings? I have just workflows and content_moderation enabled on a 8.5.x.

sam152’s picture

Let me try reinstall on HEAD and enable content moderation. You don't have the patch from #2902018: Use array_column instead of array_map where possible in the Workflows module actually applied? Because HEAD is green and I think there are tests for clicking through and creating a moderation workflow from the UI.

vijaycs85’s picture

Status: Active » Closed (won't fix)

@Sam152: you are right. it was the patch in #2902018: Use array_column instead of array_map where possible in the Workflows module that's killing key. I am closing this issue. thanks both!