[Bug]: Execute button is greyed out after uploading a data source file
Expected behavior
After uploading a file within the field File on the tab Data source the button Start on the tab Execution is not greyed out, that the import is executable.
Actual behavior
After uploading a file the button is greyed out.
In addition this is confusing: If you haven't uploaded a file yet, the button is normal and clickable. Usually I would expect that the button is greyed out, because no file exists which can be imported.
Steps to reproduce
- Pimcore is in Prod-Mode (
APP_ENV=prod). - The config is stored in the
symfony-config. - The folder
/var/tmp/datahub/dataimporter/upload/store-importis empty (no file uploaded before). - In the backend go to the
Data hubconfig and click on your Importer-Config. - Switch to the tab
Executeand see theStartbutton is active. - Switch to the tab
Sourceand upload a file. - Switch to the tab
Execute. TheStartbutton is deactivated, now. - In addition; The config is marked as changed by an asterisk.
Additional info:
- If you close your configuration (Confim closing with yes) and open it again the import is startable.
It seems that upload is handled as a config change.
Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.
To solve this problem ExtJS modification are necessary. A field I'm not familiar with.
Community, please help!