Extend file UploadDefinition checking to verify file extensions.
RCA Group
None
Description
Environment
None
Potential Workaround
None
is blocked by
relates to
Checklist
hideTestRail: Results
Activity
Show:

Viktor Soroka March 11, 2019 at 1:46 PM
, good question. Let's proceed with errors for all files. As it may be useful eventually on UI in case it is required to render all errors.

Oleksii Kuzminov March 11, 2019 at 1:31 PM
should I return an error for each invalid file with a file name or only one?

Viktor Soroka March 11, 2019 at 1:29 PM
, for the status please chose the one you think suits more in that case (I was thinking about 422 or something like that). For the error - let's proceed with validation.uploadDefinition.fileExtension.blocked. Thanks.

Oleksii Kuzminov March 11, 2019 at 1:04 PM
error should be returned to the consumer with a message that processing for such a file extension is prohibited
what error code and http status you need on UI?
Done
Details
Details
Assignee

Reporter

Labels
Priority
Story Points
3
Sprint
None
Development Team
Folijet
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 6, 2019 at 11:55 AM
Updated April 21, 2019 at 7:10 AM
Resolved March 14, 2019 at 7:27 AM
TestRail: Cases
TestRail: Runs
File extensions should be checked during UploadDefinition creation.
If there is a FileExtension with a "importBlocked" == true an error should be returned to the consumer with a message that processing for such a file extension is prohibited.