Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

"Base table or view not found" error on setup:upgrade #54

Closed
pooshok opened this issue Oct 26, 2017 · 1 comment
Closed

"Base table or view not found" error on setup:upgrade #54

pooshok opened this issue Oct 26, 2017 · 1 comment
Assignees
Labels

Comments

@pooshok
Copy link

pooshok commented Oct 26, 2017

AbstractInstallSchema.php: line 72
$cmsTableName = $this->getSetupConnection()->getTableName('cms_page');
returns wrong table name if there are used tables with prefixes.

Can be changed to
$cmsTableName = $this->setup->getTable('cms_page');
but not sure if it is perfect solution

vincenthornikx pushed a commit that referenced this issue Oct 31, 2017
@vincenthornikx vincenthornikx self-assigned this Oct 31, 2017
vincenthornikx added a commit that referenced this issue Dec 6, 2017
#54 use setup class to get table name, setupconnection class does not…
@vincenthornikx
Copy link
Contributor

Fixed in 1.0.7

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

No branches or pull requests

2 participants