Looks like langcode condition in query filters out valid result

Created on 30 September 2022, almost 2 years ago
Updated 30 June 2023, 12 months 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.69.0 2024