Skip to content

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

Description

@MarkTro

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Affected capability

    None yet

    Platform Version

    None yet

    Galaxy

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions