Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The tags should be case insensitive unique #2479

Merged

Conversation

carakas
Copy link
Member

@carakas carakas commented Feb 19, 2018

Type

  • Non critical bugfix

Pull request description

array_unique takes the case into account, adding a tag Ichtus and ichtus would result in a 500 error since the database would see it as a double entry but the php as separate entries

array_unique takes the case into account, adding a tag Ichtus and ichtus would result in a 500 error since the database would see it as a double entry but the php as separate entries
@carakas carakas added this to the 5.2.3 milestone Feb 19, 2018
@carakas carakas requested a review from a team February 19, 2018 15:24
Copy link
Member

@WouterSioen WouterSioen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it previously possible to add the same tag with both cases or did you get a 500 error?

If it was possible, this is a BC break and should probably not be pushed in a minor release?

@StijnVrolijk
Copy link
Contributor

@WouterSioen I've just tested it on the demo

image

When saving this it will give a 500 error

@WouterSioen
Copy link
Member

Bugfix it is, let's merge this and put it in the next release?

@carakas carakas merged commit 9c24d2e into forkcms:master Mar 12, 2018
@carakas carakas deleted the fix-unique-tags-case-insensitive branch March 12, 2018 14:08
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.

3 participants