Unique fails on multiple values

Created on 16 October 2013, about 11 years ago
Updated 18 April 2024, 8 months ago

I'm experiencing an unexpected behaviour (bug?) using Unique Field. I have a content type where I've set it to be Unique. The module works as expected as long as you only use a single value, but the field for the content type can have multiple values ("Add another item"). As soon as I add another item, Unique Field stops checking that field and let's it through, even though it's not unique.

Step 1: Create new content with some text in the field that's supposed to be unique. Save.

Step 2: Create another node and use the same text for the field. Unique Field flags it as not unique.

Step 3: Just press "Add another item", type something unique in the second field. Unique Field now doesn't fire any warning and non-unique value is saved to database.

Am I doing something wrong or missing something?

πŸ› Bug report
Status

Closed: outdated

Component

Code

Created by

πŸ‡ΈπŸ‡ͺSweden tz_

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024