3980: Creating an issue on a file attachment sometimes increases issue count by 2

brennie

What version are you running?

master (2.6a0)

What's the URL of the page containing the problem?

r/XXX/file/YYY/

What steps will reproduce the problem?

  1. Open an issue.
  2. Publish the issue.

What is the expected output? What do you see instead?

The expected output is that the issue_count should increase by one. However, sometimes it increases by two. (This is difficult to reproduce).

What operating system are you using? What browser?

OSX. Chrome.

Please provide any additional information below.

I am also intermittently getting "You do not have permission to perform this action" (all the while the publish still occurs) but this error did not occur when the issue count increased twice.

brennie
#1 brennie

I should also mention that when this occurred, the same file seemed to be uploaded twice as an attachment