Bug #6128
closed
firewall_rules.php: Moving a rule separator before naming/saving breaks it
Added by Esa Varemo over 8 years ago.
Updated over 8 years ago.
Description
Steps to reproduce:
1. Create a new separator
2. Drag separator from bottom of the page
3. Name and Save separator
Separator does not exit edit mode, a new one appears on the bottom of the page with the saved text.
4. Save the page
Both separators, edit mode and "saved" disappear
Expected:
Either
- A separator in edit mode is not movable
- Saving a separator works even after moving
- Category changed from Rules / NAT to Web Interface
- Target version set to 2.3.1
- Assignee set to Anonymous
- Status changed from New to Feedback
- % Done changed from 0 to 100
- Subject changed from Moving a rule separator before naming/saving breaks it to firewall_rules.php: Moving a rule separator before naming/saving breaks it
- Assignee changed from Anonymous to Esa Varemo
- % Done changed from 100 to 0
This is why developers shouldn't do QA. I would never have thought of trying that :)
Preventing the separator from moving during an edit seemed like a good idea, but it does not prevent a user from moving a firewall rule below the separator and breaking it in the same way as reported here. We could lock the entire table during edit, but that seems a bit drastic.
I have allowed a separator in edit mode to be moved and saved in place.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF