Giter VIP home page Giter VIP logo

sw6-test-plugin's People

Contributors

oliverskroblin avatar

Watchers

 avatar  avatar

sw6-test-plugin's Issues

Update to work with current new shopware version

Trying this with version (6.1.5) I get this issue:

Symfony\Component\Debug\Exception\FatalThrowableError {#1801
  -originalClassName: "Symfony\Component\ErrorHandler\Error\UndefinedMethodError"
  #message: "Attempted to call an undefined method named "convertDocument" of class "Shopware\Elasticsearch\Product\ElasticsearchProductDefinition"."
  #code: 0
  #file: "./custom/plugins/sw6-test-plugin-master/src/Elasticsearch/ProductDefinition.php"
  #line: 37
  #severity: E_ERROR
  trace: {
    ./custom/plugins/sw6-test-plugin-master/src/Elasticsearch/ProductDefinition.php:37 {
      TestPlugin\Elasticsearch\ProductDefinition->convertDocument(array $document, Entity $entity): array
      › {
      ›     return $this->decorated->convertDocument($document, $entity);
      › }
    }
    ./custom/plugins/sw6-test-plugin-master/src/Elasticsearch/MyIndexer.php:68 { …}
    ./custom/plugins/sw6-test-plugin-master/src/Elasticsearch/MyIndexer.php:48 { …}
    ./custom/plugins/sw6-test-plugin-master/src/Command/MyEsIndexCommand.php:43 { …}
    ./vendor/symfony/console/Command/Command.php:255 { …}
    ./vendor/symfony/console/Application.php:1029 { …}
    ./vendor/symfony/framework-bundle/Console/Application.php:97 { …}
    ./vendor/symfony/console/Application.php:272 { …}
    ./vendor/symfony/framework-bundle/Console/Application.php:83 { …}
    ./vendor/symfony/console/Application.php:148 { …}
    ./bin/console:68 { …}
  }
}

seems the convertDocument method of shopwares ElasticsearchProductDefinition has vanished.

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.