Problem/Motivation

When creating a new node, the default moderation state is Published, it should be Draft. Existing nodes, when edited, should be the state they are currently in when opened to edit.

Steps to reproduce (new node)

  1. Create a new Page
  2. Observe the default moderation state, it's Published

Steps to reproduce (existing node)

  1. Open an existing Page
  2. Observe the current moderation state the page is in, and also the state the moderation dropdown is in

Proposed resolution

For new nodes, the default state should be Draft.
For existing nodes, when opened to edit, the moderation dropdown should default to the current moderation state of the node.

Comments

fionamorrison23 created an issue. See original summary.

fionamorrison23’s picture

Assigned: Unassigned » richardgaunt
Issue tags: +civictheme-release-1.13
richardgaunt’s picture

Status: Active » Needs review
richardgaunt’s picture

Assigned: richardgaunt » alan.cole
richardgaunt’s picture

Assigned: alan.cole » danielgry

@danielgry All drafts of content, media and block content should now default to "Draft" as their default state.

  • 7a87df09 committed on 1.x
    [#3581070] Updated default moderation state (#1500)
    
richardgaunt’s picture

Status: Needs review » Reviewed & tested by the community
richardgaunt’s picture

Version: 1.x-dev » 1.13.0
Assigned: danielgry » Unassigned
Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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