Skip to content

[5.x]: Slug is not generate on propagation of new entry #16347

@rgauthier4c4

Description

@rgauthier4c4

What happened?

Description

When i'm saving an entry, the slug isn't generate for the other sites available.

I have a multisite (English and French) with a section having the propagation sets to : Save entries to all sites enabled for this section.

My entrytype doesn't have the default title field and the title is generated from another field. (header_title)

Steps to reproduce

  1. Create a simple section in a multisite with the propagation set to all sites.
  2. Create an entrytype that doesn't have the default title field and another text field as the title value
  3. Create a new entry in one site. The slug should be generated
  4. Switch to the other site and the entry is created without a slug. (If you resave the entry, the slug is generated correctly.)
  5. If you go back to the entries listing, the slug is saved as temp_xyz

Expected behavior

The other site slug value is generated from the first site title.

Actual behavior

The title is created but the slug doesn't exist.

(I can provide screenshot or a video if needed)

Craft CMS version

5.5.7

PHP version

8.2

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions