Coder Social home page Coder Social logo

Call to undefined method on all backend views / incompatible with firecheckout about magento2-module-url-data-integrity-checker HOT 5 CLOSED

Morgy93 avatar Morgy93 commented on September 21, 2024
Call to undefined method on all backend views / incompatible with firecheckout

from magento2-module-url-data-integrity-checker.

Comments (5)

Morgy93 avatar Morgy93 commented on September 21, 2024 1

Works like a charm, thanks!

Closed~

from magento2-module-url-data-integrity-checker.

hostep avatar hostep commented on September 21, 2024

Thanks for the report @Morgy93

But at first sight, it doesn't look like there is something our module is doing wrong here.
If you disagree, then please specify more details, like what that Plugin from the firecheckout module tries to achieve.

from magento2-module-url-data-integrity-checker.

Morgy93 avatar Morgy93 commented on September 21, 2024

Well the exception is thrown here line 42:

41: if ($this->helper->isEnabled() &&
42:     $result->getMainTable() === $result->getTable('sales_order_grid')
43: ) {

It says that getMainTable() is missing from
Baldwin\UrlDataIntegrityChecker\Model\ResourceModel\Catalog\Category\UrlPathCollection\Interceptor
but $result is usually a default Magento class:
\Magento\Framework\Api\Search\SearchResultInterface $result
So maybe you're extending/overwriting/implementing something wrong here so that the method cannot be found anymore?

from magento2-module-url-data-integrity-checker.

hostep avatar hostep commented on September 21, 2024

I'm not particularly happy with how we implemented the grid since we don't use data from the database (yet) as source for its content and I needed to hack my way around this somewhat. But the interfaces we inherit from don't force us to implement the getMainTable method, so I'm not sure what we are doing wrong here. The bug is probably in the firecheckout module but it's hard to say without more info. Have the devs from that module already investigated this? This module is open source so they should be able to quickly test it.

However, I'm considering migrating the grid we use in this module to https://github.com/hyva-themes/magento2-hyva-admin because it sounds like a lot of fun. If that happens one day, I think that this issue might be solved by no longer using the default Magento backend grids.

from magento2-module-url-data-integrity-checker.

hostep avatar hostep commented on September 21, 2024

Hi @Morgy93: can you check #8 (comment) and let me know if this fixes it as well for you? Then we can close this ticket, thanks!

from magento2-module-url-data-integrity-checker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.