data-importer icon indicating copy to clipboard operation
data-importer copied to clipboard

[Bug]: Execute button is greyed out after uploading a data source file

Open MarkTro opened this issue 1 year ago • 2 comments

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-import is empty (no file uploaded before).
  • In the backend go to the Data hub config and click on your Importer-Config.
  • Switch to the tab Execute and see the Start button is active.
  • Switch to the tab Source and upload a file.
  • Switch to the tab Execute. The Start button 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.

MarkTro avatar Feb 06 '25 10:02 MarkTro

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.

github-actions[bot] avatar Feb 27 '25 07:02 github-actions[bot]

To solve this problem ExtJS modification are necessary. A field I'm not familiar with.

Community, please help!

MarkTro avatar Feb 27 '25 10:02 MarkTro