Skip to content

Conversation

@jochhop
Copy link

@jochhop jochhop commented Aug 12, 2022

Related to #77 (but issue #77 is related to tag 9.0.0)

There's still an issue when ugrading the module from 8.x (8.3.5 in my case) to master branch.

Pre-requisites

Bazaarvoice extension installed in version 8.3.5
Bazaarvoice extension updated to master branch

Issue

A mysql error shows up when executing bin/magento set:up command:

Unable to apply data patch Bazaarvoice\Connector\Setup\Patch\Data\UpgradeBvDataAtttribute for module Bazaarvoice_Connector. Original exception message: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '4-bv_feed_include' for key 'eav_attribute.EAV_ATTRIBUTE_ENTITY_TYPE_ID_ATTRIBUTE_CODE', query was: UPDATE `eav_attribute` SET `attribute_code` = ? WHERE (`attribute_id`='618')

Solution

Check if the attribute code to be set (bv_feed_include) already exists in database.

Please see the code I have pushed to check the possible fix

@valenciaisaza
Copy link

Hi I have this problem upgrading my Magento, using the last version of BV 9.1.5. This is the solution for me, do you think to update the ext. to be installed by composer? Thanks

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

Successfully merging this pull request may close these issues.

2 participants