Bug 13944 - Core 200 - URL-Filter no cleanup of the Block categories when changing the blacklist provider
Summary: Core 200 - URL-Filter no cleanup of the Block categories when changing the bl...
Status: CLOSED DUPLICATE of bug 13820
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - - Unknown -
Assignee: Assigned to nobody - feel free to grab it and work on it
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-20 12:35 UTC by Daniel Weismüller
Modified: 2026-02-20 13:06 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Weismüller 2026-02-20 12:35:12 UTC
If you change the blacklist provider the old Block categories remain.

They should be deleted because the new provider probably has new categories.
Maybe a reset button also make sense. So you are able to delete the categories without changing the provider.
Comment 1 Adolf Belka 2026-02-20 13:06:10 UTC
(In reply to Daniel Weismüller from comment #0)
> If you change the blacklist provider the old Block categories remain.
> 
> They should be deleted because the new provider probably has new categories.
> Maybe a reset button also make sense. So you are able to delete the
> categories without changing the provider.

What is not so simple is that any user provided blacklists add their categories also and all stored in the same location. So if all the categories are removed you will also remove the user provided blacklists, which probably would not be the intent.

So the coding probably needs to be modified to differentiate between providers because they could have categories with the same name, and also with potentially more than one user provided blacklist.

There is already a bug report covering this issue in bug#13820

*** This bug has been marked as a duplicate of bug 13820 ***