Giter Site home page Giter Site logo

module-flowbox's People

Contributors

andrewschofieldito avatar andyschofieuk avatar drazulay avatar raphaelbronsveld avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

module-flowbox's Issues

"Composer require" isn't working.

  [InvalidArgumentException]
  Could not find a matching version of package itonomy/module-flowbox. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum
  -stability (stable).

Ondersteun ook Magento zonder inventorymodules

Edit: translated to English.

Subject: Support Magento without Inventory modules enabled

It's not possible to use the Flowbox module when the Inventory modules are disabled. After adding a flowboxwidget to a page and saving that page, the following error is shown:

[2021-03-05 12:51:58] report.CRITICAL: Error: Cannot instantiate interface Magento\InventoryCatalogApi\Model\GetSkusByProductIdsInterface in /home/john/doe/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121

In code vendor/itonomy/module-flowbox/Block/Widget/Flow.php one can see that the following interface is called:

\Magento\InventoryCatalogApi\Model\GetSkusByProductIdsInterface

Could this call be rewritten so to support Magento without Inventory modules enabled. This because I don't have an option to enable those inventory modules in my Magento installation.

Tnx.

Setup patch `AddAlternativeProductIdentifierAttributes` add "text" attributes as "filterable"

Hi,
after having upgraded to the 1.4.3 version of the module, we ran an issue on our product listing pages :
the 3 attributes created with the setup patch https://github.com/Itonomy/module-flowbox/blob/1.4.3/src/Setup/Patch/Data/AddAlternativeProductIdentifierAttributes.php are declared with type "text" and with the attribute "filterable" to "true", and that creates the error below with our Elastic Search integration :

ssh.eu-3.magento.cloud: [2021-09-07 07:02:52] report.CRITICAL: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ean] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magento2_product_56_v168","node":"8EiuKSMCRnuTvSpQUznjDg","reason":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ean] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}],"caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ean] in order to load field data by uninverting the inverted index. Note that this can use significant memory.","caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ean] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}},"status":400} {"exception":"[object] (Elasticsearch\\Common\\Exceptions\\BadRequest400Exception(code: 400): {\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ean] in order to load field data by uninverting the inverted index. Note that this can use significant memory.\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"magento2_product_56_v168\",\"node\":\"8EiuKSMCRnuTvSpQUznjDg\",\"reason\":{\"type\":\"illegal_argument_exception\",\"reason\":\"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ean] in order to load field data by uninverting the inverted index. Note that this can use significant memory.\"}}],\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ean] in order to load field data by uninverting the inverted index. Note that this can use significant memory.\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ean] in order to load field data by uninverting the inverted index. Note that this can use significant memory.\"}}},\"status\":400} at /app/7t57if6dywbwe/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:632)"} []

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.