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

Extension causing bin/magento setup:upgrade to fail on Magento 2.3 #45

Closed
csdougliss opened this issue Nov 30, 2018 · 5 comments
Closed

Comments

@csdougliss
Copy link

csdougliss commented Nov 30, 2018

Magento 2.3.0:
bin/magento setup:upgrade

Cannot process definition to array for type enum
vendor/magento/framework/Setup/Declaration/Schema/Db/DefinitionAggregator.php
line 58
(
    [name] => scope
    [default] => 
    [type] => enum
    [nullable] => 1
    [definition] => enum('global','website','group','view')
    [extra] => 
    [comment] => 
)

Table referenced is bazaarvoice_index_product

Presumably this line?
vendor/bazaarvoice/bazaarvoice-magento2-ext/Setup/UpgradeSchema.php

`scope` enum('".Scope::SCOPE_GLOBAL."','".Scope::WEBSITE."','".Scope::STORE_GROUP."','".Scope::STORE_VIEW."') NULL,

This code has already run before, my version is the latest.

@drake1701
Copy link

Magento support didn't seem that helpful in this. It looks like they've changed or removed the way they handle enum type columns. It's probably not necessary and could just be changed to varchar.

`scope` varchar(255) NULL,

@csdougliss
Copy link
Author

@chrismshea @drake1701 Are you able to update me on this issue please?

@chrismshea
Copy link

Hi @craigcarnell,

We'll be releasing 7.1.13 this upcoming week which will resolve this issue for 2.3.0.

@chrismshea
Copy link

This is released.

@drew7721
Copy link

drew7721 commented Nov 8, 2019

Just did an update from 2.2.10 to 2.3.3 and it's still throwing that error. The scope field in the bazaarvoice_index_product table is still of enum type. I'm on version 8.1.3 of this extension so I guess none of these updates actually changed the type of the column. What do you suggest to fix this? Should the bazaarvoice_index_product table be deleted post upgrade?

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

4 participants