Skip to content

Commit

Permalink
Revert "BAP-13962: Async import processor fails if file was removed"
Browse files Browse the repository at this point in the history
  • Loading branch information
yurio authored Mar 16, 2017
1 parent 764ab48 commit d128b8a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class OroImportExportBundleInstaller implements Installation
*/
public function getMigrationVersion()
{
return 'v1_1';
return 'v1_0';
}

/**
Expand Down

This file was deleted.

7 changes: 3 additions & 4 deletions src/Oro/Bundle/ImportExportBundle/Resources/config/file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ parameters:
oro_importexport.file.mime_type_guesser.class: Oro\Bundle\ImportExportBundle\MimeType\MimeTypeGuesser
oro_importexport.file.split_csv_file.class: Oro\Bundle\ImportExportBundle\File\SplitterCsvFile
oro_importexport.file.split_csv_file.size_of_batch: 100
importexport.filesystems_storage: '../var/import_export'

services:
oro_importexport.file.file_system_operator:
class: %oro_importexport.file.file_system_operator.class%
arguments:
- '%kernel.root_dir%'
- '%importexport.filesystems_storage%'
- %kernel.cache_dir%
- "import_export"

oro_importexport.file.mime_type_guesser:
class: %oro_importexport.file.mime_type_guesser.class%
Expand All @@ -19,5 +18,5 @@ services:
class: %oro_importexport.file.split_csv_file.class%
arguments:
- '@oro_importexport.reader.csv'
- '%kernel.root_dir%/%importexport.filesystems_storage%'
- '%kernel.cache_dir%/import_export'
- '%oro_importexport.file.split_csv_file.size_of_batch%'
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ Table of Contents
- [Import Processor](#import-processor)
- [Fixture Services](#fixture-services)
- [Import and export UI setup](#import-and-export-ui-setup)
- [Storage configuration](#storage-configuration)


Adding Normalizers
------------------

Expand Down Expand Up @@ -524,9 +523,3 @@ class CustomExportTypeExtension extends AbstractTypeExtension
}
}
```
Storage configuration
----------------

OroImportExportBundle uses local storage for providing a filesystem.

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 comments on commit d128b8a

Please sign in to comment.