Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

[Bug]: Table name missing dynamic prefix [fix] #133

Open
1 task done
nghelo opened this issue Jan 9, 2023 · 0 comments
Open
1 task done

[Bug]: Table name missing dynamic prefix [fix] #133

nghelo opened this issue Jan 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@nghelo
Copy link

nghelo commented Jan 9, 2023

Contact Details

[email protected]

What happened?

If you have set a 'table_prefix' value the 'Push Products' return a false response of missing table.

[FIX]: Get table name with prefix dinamically in 'Model/Product/Feed/ProductRetriever/Simple.php'

`
$tableName = $this->_resource->getTableName('catalog_product_super_link');

$collection
->getSelect()->joinLeft(['l' => $tableName], 'e.entity_id = l.product_id')
->where('l.product_id IS NULL')
->order(new \Zend_Db_Expr('e.updated_at desc'))
->limit($limit, $offset);
`

Magento Version

2.4

Plugin Version

1.4.4

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@nghelo nghelo added the bug Something isn't working label Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant