Two rules created if double click the Save button (by mistake)
My browser is Chrome v.46.0.2490.80
When creating a and double click the Save button (by mistake) the GUI generate two identical rules.
It is not the end of the world but did not find it in the bug-tracker so decided to report it.
Note: There is no problem if you update an existing rule and double click the Save button.
Updated by Phillip Davis about 6 years ago
I can replicate this by slowly clicking Save twice. If I purposely do a "double-click"speed double-click it does not happen. It seems that the browser is doing a POST all over again while it is still waiting for the first POST to complete.
Of course, if you do that when editing an existing anything then it effectively does the same edit/update twice. Which is generally harmless and is not noticed.
I tried the same with adding an Alias. The system adds the alias (first POST action) and then reports "An alias with this name already exists." (second repeated POST action of the same add). In this case there is a unique field that is enforced so the second POST attempt fails validation.
I got the same on Chrome (46.0.2490.80) and Firefox (38.3.0). I guess there needs to be some magic done to prevent various buttons from having any effect while still waiting for response to a previous button press.
The behavior is the same on pfSense 2.2.5-DEVELOPMENT and 2.3-ALPHA
Updated by TCI User about 6 years ago
Kill Bill wrote:
This got misfiled under packages bugs.
Sorry about that. This was my first report and I did not notice that there is a sub-category Packages. I was reading some other bug reports so I can properly present this one and probably the last one was from the Packages section.
Can I transfer my report or it has to be done by the admins?