cretz / doogie

A Chromium-based web browser with tree-style pages
https://cretz.github.io/doogie
MIT License
279 stars 28 forks source link

Unable to Save with Some Block Lists #55

Closed terinjokes closed 7 years ago

terinjokes commented 7 years ago

Using Doogie 0.6.1, I'm unable to save the profile's preferences for some lists. I've noticed that when a list fails to populate the name, homepage, and expiration policy in the UI, the preferences won't save.

For example, while EasyList works, Peter Lowe's List and the Estonian Ad-block list do not.

cretz commented 7 years ago

Thanks for the report. Will fix. Dumb thing on my part:

Failed to exec query:  "NOT NULL constraint failed: blocker_list.name Unable to fetch row"

Not sure why I'm not using an empty string here. I need to set these default values in the constructor of the BlockerList.