Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13531 closed defect (bug) (fixed)

Default Category Behavior for New Posts

Reported by: hew Owned by:
Priority: normal Milestone: 3.0
Component: UI Version:
Severity: normal Keywords: category
Cc:

Description

3.0 now automatically checks the default category BEFORE new post publication.

2.9.2 used to have all categories unchecked and appended the default category--if the user did not explicitly select a category--AFTER publication.

2.9.2 behavior seems preferable as being cleaner and easier from a user's perspective.

Attachments (1)

13531.diff (1.5 KB) - added by ryan 3 years ago.
Don't see default category for auto-drafts

Download all attachments as: .zip

Change History (8)

  • Milestone changed from Unassigned to 3.0

This is, I imagine, the result of auto-drafts.

comment:2   dd323 years ago

  • Type changed from enhancement to defect (bug)

the result of auto-drafts.

Sounds quite likely to me, Perhaps the Default category should only be applied if the post is moving to the published state? (Would cause a problem for /%category%/ permalinks however)

comment:3 follow-up: ↓ 5   markel3 years ago

The confusion for the user is multiplied when the default category has any hierarchy beneath it, as selected categories are automatically removed from the hierarchy (see #3130) and their children (and grandchildren, etc.) are displayed flat.

comment:4   ryan3 years ago

If auto-draft then don't save taxonomy relationships?

ryan3 years ago

Don't see default category for auto-drafts

comment:5 in reply to: ↑ 3 ; follow-up: ↓ 7   nacin3 years ago

Replying to markel:

The confusion for the user is multiplied when the default category has any hierarchy beneath it, as selected categories are automatically removed from the hierarchy (see #3130) and their children (and grandchildren, etc.) are displayed flat.

That's another thing at play: #10982, #3130.

Ryan's patch seems sensible.

comment:6   ryan3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [14883]) Don't set default category when saving an auto-draft. fixes #13531

comment:7 in reply to: ↑ 5   markel3 years ago

Replying to nacin:

That's another thing at play: #10982, #3130.

Ryan's patch seems sensible.

Not arguing for change to the hierarchy problem, but pointing out that it exacerbates the default category being selected automatically.

Note: See TracTickets for help on using tickets.