Extend file UploadDefinition checking to verify file extensions.

RCA Group

None

Description

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.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: 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

Assignee

Reporter

Priority

Story Points

Sprint

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