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

error when creating a product variant with unique extra fields #32462

Open
bieneart opened this issue Dec 24, 2024 · 0 comments
Open

error when creating a product variant with unique extra fields #32462

bieneart opened this issue Dec 24, 2024 · 0 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@bieneart
Copy link

Bug

I'm using an "unique" extrafield to keep track of the url path for my onlineshop. Cloning/Duplicating deletes the value of the extrafield, but when I try to create a product variant, I get this error:

Duplicate entry 'tassen/lila-beeren' for key 'uk_product_extrafields_url_de'

Dolibarr Version

20.0.2

Environment PHP

8.2.7

Environment Database

MySQL 5.7.41

Steps to reproduce the behavior and expected behavior

  1. Create an unique extrafield for products
  2. Create a product with a value in this extrafield
  3. Create a variant of this product

Attached files

No response

@bieneart bieneart added the Bug This is a bug (something does not work as expected) label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

1 participant