Skip to content

When cloning an entry using Structure, the url_title & the structure_url are given different values. #4399

@CreativePoweredGeek

Description

@CreativePoweredGeek

Description of the problem

When you are using Structure & you clone an entry, the url_title & the structure_url are given different values.

In my case, I cloned the Entry titled 'Food & Dining". The url_title was set to "copy-food-dining" and the structure_url was set to "food-dining-1"

This isn't a HUGE issue I guess since the structure_url is what is looked at for the page, however, if a client is using "live Preview" it will use the url_title and tosses a 404 error on the page, until you change the structure_url.

How To Reproduce
Steps to reproduce the behavior:

  1. select an entry
  2. Clone it
  3. review the the entry to see differing url_title and structure_url's

In my case, I changed the status to "draft" to make changes to the page and saved it, and then when I click the "Preview" button on the publish tab, I get a 404 error.

Error Messages
tosses a 404 error on the preview page

Screenshots / Videos / Template Code

Environment Details:

  • Version: 7.4.11

Possible Solution
only solution I can find is to edit the structure_url to match the url_title

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions