Project

General

Profile

Actions

Bug #6931

closed

Status > Filter Reload page is confusingly worded

Added by Steve Wheeler over 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
11/14/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

Description

The way the Filter Reload page is displayed implies that the filter rules are loaded by simply visiting the page.

The initially shows:
"This page will automatically refresh every 3 seconds until the filter is done reloading."
then after 3 seconds shows:
"Done. The filter rules have been reloaded".

But the filter rules are not actually reloaded until the button is pressed.

Actions #1

Updated by Jim Thompson over 7 years ago

  • Assignee set to Anonymous
Actions #2

Updated by Anonymous over 7 years ago

  • Status changed from New to Feedback
  • Assignee changed from Anonymous to Steve Wheeler

Page un-uglyfied as requested

Actions #3

Updated by Anonymous over 7 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by Kill Bill over 7 years ago

Uhm, dunno guys, it appears to me like this made the thing basically no-op? Previously, it's been showing what's going on during the reload. Now, it shows absolutely nothing, until you - quite a bit later, get "Done. The filter rules have been reloaded." Also, when when you get there via clicking the link shown after changing firewall rules and clicking apply, it basically does not even do the above. It shows totally nothing, just the "Reload" button.

I'd definitely prefer the "confusing" state.

Actions #5

Updated by Anonymous over 7 years ago

Previously when visiting the page from the status menu the page would say that it was reloading the filter then after three seconds say that it was done. That was not true. It looked like it was reloading hte filter, but it was really only updating the display.

Now you no longer get that fake display. When you click the button it reloads the filter and once finished, displays the "done" banner. Isn't that an improvement?

The clicking the button in the apply process is broken. I'll fix that.

Actions #6

Updated by Kill Bill over 7 years ago

I'm very sure the thing has actually been displaying real activity during reload. Such as, loading the various package firewall hooks, etc. Not anything fake. So now, it shows nothing, no idea where did the output go. It also does not refresh after 3 seconds, e.g. on an APU2 it takes some 10 seconds where it appears there's nothing going on at all (will probably make users click the button over and over again), then all of a sudden it shows "Done. The filter rules have been reloaded."

Actions #7

Updated by Anonymous over 7 years ago

The system I was testing on was too fast to notice the intermediate messages. Thanks for pointing that out. Fix coming.

Actions #8

Updated by Anonymous over 7 years ago

The root cause of the issue was that the filter reload process over-wrote the status file with every message, so there was only ever one line to read. On a fast system, that was always "Done".

The system has been changed to retain all filter status messages in the file, and to display them all on the page. No status messages should be lost, no matter the speed of the system being tested.

Actions #9

Updated by Kill Bill over 7 years ago

Thanks for looking into it (it's not like the exact messages would be really critical, but it was an indication of a progress - or of things getting stuck somewhere and at which point...) I got somehow lost in the related commits, so I guess I'll wait for the next snapshot to test this.

Actions #10

Updated by Kill Bill over 7 years ago

Wow, this is much better than before, shows complete progress output now. 8-) Thanks.

Actions #11

Updated by Renato Botelho over 7 years ago

  • Status changed from Feedback to Resolved
Actions #12

Updated by Jim Pingle about 7 years ago

  • Target version changed from 2.4.0 to 2.3.3
Actions

Also available in: Atom PDF