Skip to content

Commit d128b8a

Browse files
authored
Revert "BAP-13962: Async import processor fails if file was removed"
1 parent 764ab48 commit d128b8a

File tree

4 files changed

+5
-64
lines changed

4 files changed

+5
-64
lines changed

src/Oro/Bundle/ImportExportBundle/Migrations/Schema/OroImportExportBundleInstaller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class OroImportExportBundleInstaller implements Installation
1414
*/
1515
public function getMigrationVersion()
1616
{
17-
return 'v1_1';
17+
return 'v1_0';
1818
}
1919

2020
/**

src/Oro/Bundle/ImportExportBundle/Migrations/Schema/v1_1/MoveImportExportFiles.php

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/Oro/Bundle/ImportExportBundle/Resources/config/file.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ parameters:
33
oro_importexport.file.mime_type_guesser.class: Oro\Bundle\ImportExportBundle\MimeType\MimeTypeGuesser
44
oro_importexport.file.split_csv_file.class: Oro\Bundle\ImportExportBundle\File\SplitterCsvFile
55
oro_importexport.file.split_csv_file.size_of_batch: 100
6-
importexport.filesystems_storage: '../var/import_export'
76

87
services:
98
oro_importexport.file.file_system_operator:
109
class: %oro_importexport.file.file_system_operator.class%
1110
arguments:
12-
- '%kernel.root_dir%'
13-
- '%importexport.filesystems_storage%'
11+
- %kernel.cache_dir%
12+
- "import_export"
1413

1514
oro_importexport.file.mime_type_guesser:
1615
class: %oro_importexport.file.mime_type_guesser.class%
@@ -19,5 +18,5 @@ services:
1918
class: %oro_importexport.file.split_csv_file.class%
2019
arguments:
2120
- '@oro_importexport.reader.csv'
22-
- '%kernel.root_dir%/%importexport.filesystems_storage%'
21+
- '%kernel.cache_dir%/import_export'
2322
- '%oro_importexport.file.split_csv_file.size_of_batch%'

src/Oro/Bundle/ImportExportBundle/Resources/doc/reference/how-to-use.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ Table of Contents
1010
- [Import Processor](#import-processor)
1111
- [Fixture Services](#fixture-services)
1212
- [Import and export UI setup](#import-and-export-ui-setup)
13-
- [Storage configuration](#storage-configuration)
14-
13+
1514
Adding Normalizers
1615
------------------
1716

@@ -524,9 +523,3 @@ class CustomExportTypeExtension extends AbstractTypeExtension
524523
}
525524
}
526525
```
527-
Storage configuration
528-
----------------
529-
530-
OroImportExportBundle uses local storage for providing a filesystem.
531-
532-
By default, it configured to store files in `var/import_export directory` of your project. You can change this in `parameters.yml` - variable `importexport.filesystems_storage`.

0 commit comments

Comments
 (0)