On a fresh Acquia BLT install, create a new content type.
Create a new page of this content type.
Go to content/admin. The page doesn't show.
Uninstall lightning_workflow, the page appears in the list.

This is a relatively new issue as it was working fine on acquia/lightning 2.0.1

CommentFileSizeAuthor
#9 2858566-9.patch10.06 KBbalsama
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

extravioar created an issue. See original summary.

extravioar’s picture

And when I try to reinstall lightning_workflow, I get:

Unable to install Lightning Workflow, core.entity_form_display.scheduled_update.multiple_node_embargo.default, core.entity_form_display.scheduled_update.node_embargo.default, field.field.scheduled_update.multiple_node_embargo.field_moderation_state_1, field.field.scheduled_update.node_embargo.field_moderation_state, field.storage.node.scheduled_update, field.storage.scheduled_update.field_moderation_state, field.storage.scheduled_update.field_moderation_state_1, scheduled_updates.scheduled_update_type.multiple_node_embargo, scheduled_updates.scheduled_update_type.node_embargo, views.view.moderation_history already exist in active configuration.

balsama’s picture

I think this is related to the "Has unpublished edits" field being a little too presumptuous. The quick fix is to remove that field and the latest revision relationship from the admin/content view (it's called "has forward revisions" in the backend).

Is moderation enabled for your new content type? I think the latest revision relationship is required. Enabling moderation or removing the required flag from the relationship might be less intrusive short-term solutions.

extravioar’s picture

Thanks for the quick reply. Indeed, enabling moderation and re-saving the nodes solves the issue.
I had tried to remove the fields from the admin/content view but it didn't make a difference.

jacov’s picture

confirmed bug. we are seeing this behavior as well.

jacov’s picture

Priority: Normal » Critical
jacov’s picture

@johnkennedy fyi, raising priority, customer impacting.

balsama’s picture

Priority: Critical » Normal

This is on our radar @jacov. No need to misuse the priority field :)

For now, there is a workaround in #3. We hope to have a permanent fix before 2.0.4 comes out (tomorrow or next Wednesday).

balsama’s picture

Version: 8.x-2.03 » 8.x-2.x-dev
Status: Active » Needs review
FileSize
10.06 KB

Available in PR 289: https://github.com/acquia/lightning/pull/289

Equivalent patch attached.

  • balsama committed 0d91715 on 8.x-2.x
    Issue #2858566 by balsama: lightning_workflow preventing nodes from...
balsama’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.