[MacPorts] #53117: Braeburn POST requests (Trac, Mailman) are unreliable

MacPorts noreply at macports.org
Sat Oct 27 18:23:44 UTC 2018


#53117: Braeburn POST requests (Trac, Mailman) are unreliable
-----------------------------+----------------------
  Reporter:  mf2k            |      Owner:  admin@…
      Type:  defect          |     Status:  reopened
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+----------------------
Changes (by ryandesign):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:19 ryandesign]:
 > I also still see the problem occasionally, maybe once or twice every few
 days.

 This still happens often enough to be annoying. I think a contributing
 factor might be that while I'm composing a ticket, many http requests are
 being sent to Trac to render the live preview (everytime I stop typing for
 a few seconds) or to look up a GitHub handle from an email address, such
 that by the time I press the Submit button, the web server (or whatever
 component contains this apparent DoS protection) has counted so many
 requests that it decides that this one is one too many and blocks it. I'm
 starting to try to train myself to wait 30 seconds after I finish
 composing a ticket before clicking the Submit button.

 > It's annoying when it happens after I've just written a new ticket,
 because I can't just click the Back button and click Submit again, because
 the first time I clicked Submit, it was disabled with JavaScript
 (presumably to prevent an errant double–click from causing two tickets to
 be created, something we used to see before Trac had this feature).

 Can we at least fix this specific issue with Trac? That would make it much
 less annoying. Can we add custom JavaScript to our template to cause the
 Submit button to become re-enabled if the page is displayed in response to
 clicking the Back button? It probably affects not only the new-ticket form
 but also the add-comment form.

-- 
Ticket URL: <https://trac.macports.org/ticket/53117#comment:20>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list