Skip to content

consider slug empty when the value is temp, too#16817

Merged
brandonkelly merged 4 commits into4.xfrom
bugfix/slug-condition-rule-empty-and-has-empty
Mar 4, 2025
Merged

consider slug empty when the value is temp, too#16817
brandonkelly merged 4 commits into4.xfrom
bugfix/slug-condition-rule-empty-and-has-empty

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Mar 3, 2025

Description

Makes SlugConditionRule treat temporary slugs as empty. When an element that has slugs is created, a temporary slug is assigned to it, meaning that even for a brand new entry, the “is empty” is always false and “has a value” is always true.

Related issues

n/a

@i-just i-just requested a review from brandonkelly March 3, 2025 13:32
@brandonkelly brandonkelly merged commit cbcea85 into 4.x Mar 4, 2025
@brandonkelly brandonkelly deleted the bugfix/slug-condition-rule-empty-and-has-empty branch March 4, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants