Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11394

Templates don't accept other file types than txt

XMLWordPrintable

    • % %
    • +
    • Automated

      (Migrated from https://github.com/syndesisio/syndesis/issues/6316)

      Author: Martin Muzikar
      Assignees: phantomjinx,

      This is a...

      [pre][code]
      [ ] Feature request
      [x] Regression (a behavior that used to work and stopped working in a new release)
      [x] Bug report [!-- Please search GitHub for a similar issue or PR before submitting --]
      [ ] Documentation issue or request
      [/code][/pre]

      Description

      AFAIK there is no known description of file extensions that the template steps allow to be uploaded. The only mention of uploading files is "Click browse to upload, navigate to a file, and upload it. ". To me this means whatever the extension is, it should be allowed to be uploaded. Restricting users to only uploading certain types of files doesn't make sense to me in this use case since most users are going to write those files themselves, so if there is any restriction regarding this. It should be mentioned somewhere in the UI & there could also be a filter in the file upload dialog.

      !image
      (the file input button is there as a workaround for automated tests, don't worry it's not visible )

      Testing files:
      template1.txt
      template.txt
      SIDE NOTE: Github does the same thing of restricting only certain types of files, but informs the user in various ways that the file is not supported
      !image
      If I still upload wrong file type:
      !image
      ping: @phantomjinx

            parichar@redhat.com Paul Richardson
            rhn-support-hbraun Heiko Braun
            Martin Muzikar Martin Muzikar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: