[9.201][BUG] The whitelist/blacklist object already exists (Web Filter)

When i add a whitelist/blacklist website to the Filter Action, saving the object but NOT the Filter Action itself, the next time i want to use the same Name, i get the following error:

The whitelist/blacklist object with the name 'MyName' already exists.

But you can't see it with the webadmin (Screenshots).


How can i delete this invisible object? SSH?

Greetz [:P]
Parents
  • This looks like missing UI functionality, there is no "folder" to select existing definitions or other management mechanism that I could find quickly.

    The same problem exists in 9.109 in the "Add regular expression objects" in Web Protection->Web Filtering->URL Filtering.  Also, clicking on the red X removes it from the group but does not appear to remove the REF in 9.109 (it did appear to remove the REF in 9.200-11).

    Proceed at your own risk, or at the very least none to me. Make backups, work within your change management processes and maintenance windows after testing in an appropriate environment.

    Dump domain regular expression objects:
    cc get_objects_filtered '$_->{type} eq "domain_regex"'


    If that doesn't work (get_objects_filtered removed from 9.3+?) try:
    cc get_objects http domain_regex


    or try the gof.pl script.

    Verify the only affected nodes/objects is itself.
    cc get_affected_nodes REF_HttDomWhatever
    cc get_affected_objects REF_HttDomWhatever


    Delete orphaned object:
    cc del_object REF_HttDomWhatever


    Please let me know how these work for you.
Reply
  • This looks like missing UI functionality, there is no "folder" to select existing definitions or other management mechanism that I could find quickly.

    The same problem exists in 9.109 in the "Add regular expression objects" in Web Protection->Web Filtering->URL Filtering.  Also, clicking on the red X removes it from the group but does not appear to remove the REF in 9.109 (it did appear to remove the REF in 9.200-11).

    Proceed at your own risk, or at the very least none to me. Make backups, work within your change management processes and maintenance windows after testing in an appropriate environment.

    Dump domain regular expression objects:
    cc get_objects_filtered '$_->{type} eq "domain_regex"'


    If that doesn't work (get_objects_filtered removed from 9.3+?) try:
    cc get_objects http domain_regex


    or try the gof.pl script.

    Verify the only affected nodes/objects is itself.
    cc get_affected_nodes REF_HttDomWhatever
    cc get_affected_objects REF_HttDomWhatever


    Delete orphaned object:
    cc del_object REF_HttDomWhatever


    Please let me know how these work for you.
Children
No Data