-
Type:
Defect
-
Resolution: Done
-
Priority:
Standard
-
Affects Version/s: 2.0.72
-
Component/s: None
-
None
-
3
-
Sprint 103
Problem:
Acceptance Criteria:
An empty file selection should return the same Individual File Download page with an error message indicating no files selected.
Background:
Maybe this is the correct behavior but we need a better message.
Go to Download Individual Files page e.g.
https://localhost:8443/browse/viewCollectionFilesFilter.html?selectAll=&datasetId=12a93714-575d-11e1-8a54-00c0f03d5b7c&filenamePattern=*210012*&variableId=c38b3257-83ee-11e1-a4ce-00c0f03d5b7c&variableName=c38b3257-83ee-11e1-a4ce-00c0f03d5b7c&variableId=c38b8078-83ee-11e1-a4ce-00c0f03d5b7c&variableName=c38b8078-83ee-11e1-a4ce-00c0f03d5b7c
Don't select any files.
Click button "Download Options for Selection"
Should say "none selected" or do nothing, but instead get HTTP 400 error:
HTTP Status 400 - Required UUID[] parameter 'logicalFileId' is not present
type Status report
message Required UUID[] parameter 'logicalFileId' is not present
description The request sent by the client was syntactically incorrect.
Apache Tomcat/7.0.63
Acceptance Criteria:
An empty file selection should return the same Individual File Download page with an error message indicating no files selected.
Background:
Maybe this is the correct behavior but we need a better message.
Go to Download Individual Files page e.g.
https://localhost:8443/browse/viewCollectionFilesFilter.html?selectAll=&datasetId=12a93714-575d-11e1-8a54-00c0f03d5b7c&filenamePattern=*210012*&variableId=c38b3257-83ee-11e1-a4ce-00c0f03d5b7c&variableName=c38b3257-83ee-11e1-a4ce-00c0f03d5b7c&variableId=c38b8078-83ee-11e1-a4ce-00c0f03d5b7c&variableName=c38b8078-83ee-11e1-a4ce-00c0f03d5b7c
Don't select any files.
Click button "Download Options for Selection"
Should say "none selected" or do nothing, but instead get HTTP 400 error:
HTTP Status 400 - Required UUID[] parameter 'logicalFileId' is not present
type Status report
message Required UUID[] parameter 'logicalFileId' is not present
description The request sent by the client was syntactically incorrect.
Apache Tomcat/7.0.63