Looks like langcode condition in query filters out valid result

Created on 30 September 2022, about 2 years ago
Updated 30 June 2023, over 1 year ago

Problem/Motivation

Uniqueness verification doesn't work for our custom "code" field in a vocabulary if you remove the language field from the form.

Steps to reproduce

Module applies langcode='0' to the query which doesn't return any result.

Proposed resolution

Removing the langcode condition of the query makes it work but doesn't seem like a good solution ;)

In our case it was simpler to readd the language field to the vocabulary form.

May be we could replace the '0' langcode by the default langcode?

Anyway thanks a lot for this really useful module! 👍

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France mably

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.

Production build 0.71.5 2024