Permission "Override #node_type# published option" creates "Publishing status" checkbox in node edit form. But a submit button in node edit form changes from "Save" to button with two options "Save and publish / Save and keep unpublished". Checkbox "Publishing status" is working as expected, but "two-options-button" functionality is broken. It does not publish / unpublish node when specified option is selected.

I've tried disable "Publishing status" checkbox from node form display, but "two-options-button" does not work either.

Steps to reproduce:

  • Install and enable Override Node Options module
  • Enable permission "Override #node_type# published option" on some node type, which you can create/edit
  • Try edit node - publish / unpublish

I've tried to install dev-2.x version and it seems to be the same problem (Drupal 8.3.7 and 8.4.0).

Am I missing something, or it's a bug? Screenshot of the problem is attached to this issue.

CommentFileSizeAuthor
override_node_options.png12.05 KBiki_cz

Comments

iki_cz created an issue. See original summary.

opdavies’s picture

Version: 8.x-2.1 » 8.x-2.x-dev

Confirmed, this seems to be an issue with Override Node Options 8.x-2.x and core 8.4.x.

The automated tests are passing, so I'll add another test to reproduce the bug and then look into fixing it.

opdavies’s picture

Version: 8.x-2.x-dev » 8.x-3.x-dev

.

opdavies’s picture

Version: 8.x-3.x-dev » 8.x-2.x-dev

  • opdavies committed b7b7b24 on 8.x-2.x
    Issue #2914305 by iki_cz: "Publishing status" checkbox vs. "Save and...
opdavies’s picture

Status: Active » Fixed
opdavies’s picture

Released in 8.x-2.3.

Status: Fixed » Closed (fixed)

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