# PropertyOption.value

**URL:** <https://forum.shopware.com/t/propertyoption-value/56385>\
**Category:** Allgemein\
**Created:** [12. November 2018 um 13:05 UTC](https://forum.shopware.com/t/propertyoption-value/56385 "2018-11-12T13:05:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barrie](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@Barrie](https://forum.shopware.com/u/Barrie)\
**Post date:** [12. November 2018 um 13:05 UTC](https://forum.shopware.com/t/propertyoption-value/56385/1 "2018-11-12T13:05:28Z")

</div>

Hallo zusammen,

ich versuche über eine Mehrfachänderung Artikeln Eigenschaften zuzuordnen, aber es hakt beim Feldname “PropertyOption.value” - für PropertyOption sind es drei Optionen angelegt:

Damen  
Herren  
Kinder

aber egal was ich versuche, klappt die Mehrfachänderung einfach nicht. Die sieht ca. so aus:

PropertyOption.value \> set \> Damen

(die Option heißt “Damen”).

Die Fehlmeldung lautet:

Ups! Ein Fehler ist aufgetreten!

Die nachfolgenden Hinweise sollten Ihnen weiterhelfen.

Error updating details: An exception occurred while executing ‘UPDATE s\_filter\_values SET value = ‘Damen’ WHERE id IN (‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘141’, ‘114’, ‘138’, ‘139’, ‘141’, ‘114’, ‘138’, ‘139’, ‘141’, ‘114’, ‘138’, ‘139’, ‘141’, ‘114’, ‘138’, ‘139’, ‘141’, ‘114’, ‘138’, ‘139’, ‘141’, ‘114’, ‘138’, ‘139’, ‘141’, ‘114’, ‘138’, ‘139’, ‘141’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’, ‘114’, ‘138’, ‘139’)’: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘23-Damen’ for key ‘optionID’ in engine/Shopware/Components/MultiEdit/Resource/Product/BatchProcess.php on line 317

Stack trace:

```
 #0 engine/Shopware/Components/MultiEdit/Resource/Product.php(134): Shopware\Components\MultiEdit\Resource\Product\BatchProcess-\>batchProcess('24') #1 engine/Shopware/Controllers/Backend/ArticleList.php(274): Shopware\Components\MultiEdit\Resource\Product-\>batchProcess('24') #2 engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Backend\_ArticleList-\>batchAction() #3 engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight\_Controller\_Action-\>dispatch('batchAction') #4 engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #5 engine/Shopware/Kernel.php(191): Enlight\_Controller\_Front-\>dispatch() #6 vendor/symfony/http-kernel/HttpCache/HttpCache.php(484): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #7 engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #8 vendor/symfony/http-kernel/HttpCache/HttpCache.php(251): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #9 engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #10 shopware.php(118): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #11 {main}

```

Ebenfalls habe ich mit PropertyOption.position versucht (set \> 1) aber dies funktioniert auch nicht.

Hat jemand Erfahrung, wie man Eigenschaften an Artikeln über eine Mehrfachänderung einpflegen kann?

Viele Grüße

Barrie
