The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

UNABLE TO ATTACH EMPTY TXT FILE

Kalesha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 8, 2016

UNABLE TO ATTACH EMPTY TXT FILE

 

THE FOLLOWING MESSAGE DISPLAYS WHEN EMPTY FILE IS ATTACHED.

 

File "Test.txt" was not uploaded

No data was sent for Test.txt. The browser may not be able to read the file.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 8, 2016

Attaching an empty file is utterly pointless.  Your browser is unlikely to send it properly, and JIRA has no reason to accept it (although older versions did give you a simple "file is empty, so don't bother" message)

Kalesha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 8, 2016

@Nic Brough [Adaptavist] as part of negative testing we should load empty files to see various response messages from the system. So for each test case we have few empty files as test data. 

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 8, 2016

Attaching an empty file is utterly pointless.  So I'd say this is a "pass" of a test, because it works by preventing a user from doing something utterly pointless.  I suspect your "negative tests" are incomplete or poorly designed or specified.

As this is clearly a correct response, I'm not sure why you are asking it as a question.