Comments (7)
Hi @amenk, thank you for reporting this issue, I will have a look at it right away.
from import-cli-simple.
@amenk You could use it as a standalone application required via composer, as a dependency in your Magento installation or you could use the import-cli-simple.phar file. All three ways are supported and should work out of the box.
The issue seems to be related to an incorrect set of dependencies, specifically laminas/laminas-filter
which has a hard dependency on laminas/laminas-servicemanager
which is not defined in the composer.json file (well it is defined as "require-dev" but not "require").
I am currently investigating why this issue did not occur before and how we can fix it. In the meantime you could require import-cli-simple outside of your project directory and execute your import commands from within your magento application root directory.
from import-cli-simple.
@pathmissing Even after uninstalling the package, bin/magento
was broken, I was able to resolve it by deleting vendor/laminas
. Seems to be something with the package-replacing?
Still I would like to give M2IF a try :)
from import-cli-simple.
I just learned that m2if is more like a seperate symfony application than a Magento plugin, so it might not make to much sense to pull the dependencies into a Magento 2 project, right?
from import-cli-simple.
Although it is indeed problematic for laminas/laminas-filter
to have a hard dependency on laminas/laminas-servicemanager
without having a "required" declaration in composer.json, it is not the root cause of the issue.
Back in january we accepted a pull request for using laminas-filter instead of the abandoned zend-filter: techdivision/import@dbea212#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780
This however leads to conflicts with other zendframework components which are requried by magento core until version 2.3.4.
With 2.3.5, Magento replaced all zendframework components with their new laminas successors, which is why this issue has not been discovered earlier: https://devdocs.magento.com/guides/v2.3/release-notes/release-notes-2-3-5-open-source.html
We will discuss possible solutions. Thanks again for the feedback!
from import-cli-simple.
Works, thanks :)
from import-cli-simple.
@amenk Happy to hear that :)
from import-cli-simple.
Related Issues (20)
- Still trying to parse composer,json for Magento edition, even we have a configuration file HOT 7
- Composer updates to wrong version HOT 3
- Integrity constraint violation: 1062 Duplicate entry for key 'URL_REWRITE_REQUEST_PATH_STORE_ID' HOT 6
- Integrity constraint violation: 1048 Column 'sku' cannot be null HOT 2
- Not mapped entity ID for SKU in variants_ HOT 5
- Make console output colorful HOT 7
- Extension Libraries configuration is not parsing HOT 3
- Events on Subjects not working
- GraphNavigator Error on Database Configuration HOT 2
- Magento 2.3.3 - Can't use product import with MSI modules disabled HOT 2
- logger/system.WARNING: Directory var/importexport/media/catalog/product doesn't exist HOT 1
- Call to a member function getSystemLogger() on null HOT 2
- Not importing sample data, ok file creation succeeded (Move file issue) HOT 1
- Product Custom Option Import is not working. HOT 2
- Can't use import:create:configuration-file
- Class "TechDivision\Import\Cli\Utils\DependencyInjectionKeys" not found HOT 2
- Fatal error: Uncaught Error: Call to undefined method Doctrine\Common\Annotations\AnnotationRegistry::registerLoader() HOT 1
- MSI Import does not update quantities in stock HOT 5
- Import path isn't set to magento root directory
- Product price is not validated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from import-cli-simple.