Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296232

Node type: Default publishing option won't save as Published

$
0
0

Problem/Motivation

Publishing options > Default options > "Published" checkbox won't enable. FWIW #1, it seems like a regression as far as I can tell -- Ilast week, I updated my site from 8.5.3 to 8.5.6, and that's when the problem started. FWIW #2: At first I thought it was related to #2927408: Default value not correctly set in the ModerationStateWidget. but they explained to me that other issue is about the content form, not content type settings form.

Steps to reproduce:

  1. I edit a content type (admin/structure/types/manage/mytype)
  2. Publishing options > Default options > "Published" is unchecked
  3. I enable "Published"
  4. I save the form
  5. I edit that same ctype again (admin/structure/types/manage/mytype)
  6. Publishing options > Default options > "Published" is unchecked

Other notes:

  • Also, when I create a new node of type "mytype," the published flag at the bottom is set to "Draft."
  • CMI: I could've sworn that 'node.type.mytype:status' corresponded with the default published status for that ctype, but when I check this config value (drush cget node.type.mytype status), it says "true", so idk what that means -- just mentioning in case it helps.
  • I feel like there's something weird with content moderation, too, and idk if it's related: In workflow settings (admin/config/workflow/workflows/manage/editorial), I enabled it for all but 2 ctypes, but when I go to the ctype settings form for the ctypes for which the editorial workflow is NOT supposed to be enabled, the checkbox for Publishing options > Default options > Create new revision, is enabled and grayed out. Again, just mentioning in case it's relevant!

"About me"

  • Drupal 8.5.6
  • Content moderation enabled for most but not all node types -- using the out-of-the-box content publishing workflow.
  • Using CMI to fully codify/version-control site config -- see below for a note on this.

Proposed resolution

Fix so that default published status can be set to published :).

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A


Viewing all articles
Browse latest Browse all 296232

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>