-
Bug
-
Resolution: Done
-
Major
-
None
-
%
-
+
-
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