close
Skip to content

Content "Default URL alias pattern" setting will not remain empty (set to "none") #7104

@jenlampton

Description

@jenlampton

Description of the bug

I would like my pageless nodes to only be "visible" at their system paths node/123.

After moving the path settings to the node/type form, a default value is populated when the current value is empty, causing my empty settings to be overwritten with every save to this node type, unless I remmber to open up "URL Path Pattern" and delete the text from Default URL alias pattern

Steps To Reproduce

To reproduce the behavior:

  1. Go to admin/structure/types/manage/page
  2. Click on the vertical tab "URL Path Pattern"
  3. Delete the default value
  4. Scroll down and hit save
  5. Go back to admin/structure/types/manage/page
  6. Confirm the thing you just deleted is now back

Actual behavior

Default path patterns won't stay deleted.

Expected behavior

Default path patterns should stay deleted.

Recommended solution

I think we should add an additonal setting, Enable autmoatc URL aliases that sits at the top of this page. (and it should be checked by default)

  • When checked the default path pattern will be automatically added into the field
  • When UNchecked, it should not

This would match Moderation, Revisions, and Menu, other things in the vertical tabs.

Additional information

Add any other information that could help, such as:

  • Backdrop CMS version:
  • Web server and its version:
  • PHP version:
  • Database sever (MySQL or MariaDB?) and its version:
  • Operating System and its version:
  • Browser(s) and their versions:

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions