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 in Manage Product labels #15

Open
dirkgulitz opened this issue Apr 29, 2019 · 2 comments
Open

Error in Manage Product labels #15

dirkgulitz opened this issue Apr 29, 2019 · 2 comments
Assignees

Comments

@dirkgulitz
Copy link

dirkgulitz commented Apr 29, 2019

On Magento ver. 2.3.1 in "Manage Product labels" i get this error Item (Magento\Framework\View\Element\UiComponent\DataProvider\Document) with the same ID "2" already exists.

If i delete it from table smile_product label the next ID throws out.

Adding Labels works as expected

Using Tax Class works but using a custom attribute does not work.

@eng-abdurraoof
Copy link

Hi @dirkgulitz did you get any solution for it?
I am also getting similar error
When I open Admin > Page show error like
Item (Magento\Framework\View\Element\UiComponent\DataProvider\Document) with the same ID "37" already exists.

When I open any product in edit view, showing error

1 exception(s): Exception #0 (Exception): Item (Magento\Cms\Model\Page) with the same ID "37" already exists. #1 Magento\Framework\Data\Collection\AbstractDb->loadWithFilter() called at [vendor/magento/framework/Interception/Interceptor.php:58] #2 Magento\Cms\Model\ResourceModel\Page\Collection\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #3 Magento\Cms\Model\ResourceModel\Page\Collection\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #4 Magento\Cms\Model\ResourceModel\Page\Collection\Interceptor->___callPlugins() called at [generated/code/Magento/Cms/Model/ResourceModel/Page/Collection/Interceptor.php:39] #5 Magento\Cms\Model\ResourceModel\Page\Collection\Interceptor->loadWithFilter() called at [vendor/magento/framework/Data/Collection/AbstractDb.php:565] #6 Magento\Framework\Data\Collection\AbstractDb->load() called at [vendor/magento/framework/Data/Collection.php:838] #7 Magento\Framework\Data\Collection->getIterator() called at [vendor/mageworx/module-seobase/Model/Source/CustomCanonical/CmsPage.php:45] #8 MageWorx\SeoBase\Model\Source\CustomCanonical\CmsPage->toOptionArray() called at [vendor/mageworx/module-seobase/Ui/DataProvider/Form/Modifier/CustomCanonical/AbstractModifier.php:730] #9 MageWorx\SeoBase\Ui\DataProvider\Form\Modifier\CustomCanonical\AbstractModifier->getCmsPageOptions() called at [vendor/mageworx/module-seobase/Ui/DataProvider/Form/Modifier/CustomCanonical/AbstractModifier.php:459] #10 MageWorx\SeoBase\Ui\DataProvider\Form\Modifier\CustomCanonical\AbstractModifier->getTargetCmsPageIdFieldConfig() called at [vendor/mageworx/module-seobase/Ui/DataProvider/Form/Modifier/CustomCanonical/AbstractModifier.php:273] #11 MageWorx\SeoBase\Ui\DataProvider\Form\Modifier\CustomCanonical\AbstractModifier->getCanonicalToFieldset() called at [vendor/mageworx/module-seobase/Ui/DataProvider/Form/Modifier/CustomCanonical/AbstractModifier.php:196] #12 MageWorx\SeoBase\Ui\DataProvider\Form\Modifier\CustomCanonical\AbstractModifier->modifyMeta() called at [vendor/mageworx/module-seobase/Plugin/CustomCanonicalFormUpdate/AddToCategoryFormPlugin.php:37] #13 MageWorx\SeoBase\Plugin\CustomCanonicalFormUpdate\AddToCategoryFormPlugin->afterGetMeta() called at [vendor/magento/framework/Interception/Interceptor.php:146] #14 Magento\Catalog\Model\Category\DataProvider\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #15 Magento\Catalog\Model\Category\DataProvider\Interceptor->___callPlugins() called at [generated/code/Magento/Catalog/Model/Category/DataProvider/Interceptor.php:26] #16 Magento\Catalog\Model\Category\DataProvider\Interceptor->getMeta() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:318] #17 Magento\Framework\View\Element\UiComponentFactory->mergeMetadata() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:218] #18 Magento\Framework\View\Element\UiComponentFactory->create() called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:140] #19 Magento\Framework\View\Layout\Generator\UiComponent->generateComponent() called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:103] #20 Magento\Framework\View\Layout\Generator\UiComponent->process() called at [vendor/magento/framework/View/Layout/GeneratorPool.php:81] #21 Magento\Framework\View\Layout\GeneratorPool->process() called at [vendor/magento/framework/View/Layout.php:350]

@PierreGauthier
Copy link
Contributor

Hello @dirkgulitz , can you confirm if you issue has been fix by 31ef4d3 (I cannot reproduce it on my side)
@eng-abdurraoof you issue doesn't seems to be linked to the productLabel module ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants