S3 importing works for some entities, not all
Wondering if this is a work- in-progress feature. I followed the guide here:
on the latest b2b demo shop 202410 after we saw mixed success with our updated Spryker. Only some entities are imported from S3, rest are still read from the local harddrive. Should they all work OOTB?
These are working:
product-abstract, product-concrete, product-image, product-stock, tax
These are not. Easy way to test is to rename your local data/import/common directory, and you will get FileResolver errors as import tries to find the CSV.
product-price, product-price-schedule, category
Tested by adding the file_system: s3-import to the full_EU.yml, and also by setting s3-import as the default in CsvReaderConfiguration. I didn't test every entity type.
We're a bit stumped as to the cause, and cannot start using our updated Spryker before CSV imports are working like they used to.
Comments
-
More entity types that won't fetch from S3: product-relation, product-relation-store, product-discontinued
0 -
Looks like the information about fileSystem is not passed to the plugins.
All the importers that are mentioned in the large switch statement of DataImportBusinessFactory.getDataImporterByType work and fetch the CSV from S3.
Plugins however lose the value, and DataImporterCollection.import no longer knows that it should fetch from s3-import, as $dataImporterConfigurationTransfer.readerConfiguration.fileSystem is null.0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 78 Spryker News
- 935 Developer Corner
- 793 Spryker Development
- 90 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random