• Neilmk

    (@neil-maxwell-keys)


    If you deactivate the Sparkpost plugin (e.g. for testing, bug fixing, etc) then you LOSE all of your settings and your emails then bypass the Sparkpost service without warning.

    I was trying to find a fault at my site so naturally deactivated all plugins to figure out the problem. I fixed the problem then reactivated all of my plugins. 3 weeks later through pure chance, I clicked the Sparkpost plugin settings and discovered (to my horror) that there were no settings in there anymore (API key removed, etc) and the ‘send email through Sparkpost’ was unchecked. Not only does this affect my email deliverability but it also LOSES Sparkpost money as emails are no longer routed through their service.

    I cannot believe that the plugin settings are not stored in the database or at the very least, there is no admin notification message to warn us that we need to re-enter api key etc when we deactivate/active plugin.

    Please fix this!

Viewing 1 replies (of 1 total)
  • Plugin Contributor rajuru

    (@rajuru)

    Hello
    Plugin stores the settings in database indeed. Removing settings upon uninstall is the way plugin should work unless there were some way to explicitly ask it to not to. If all plugins stored their data and none removed it, you would end up lot of unnecessary data with no reliable way to clean these up.

    So, this behavior won’t change in SparkPost plugin. We are sorry if this is inconvenient to you.

    This also means you didn’t follow the installation instructions mentioned on the readme/plugin page for completion of setup.

    However, I think you have a good point about alerting when setup is not complete. I think an admin wide notification (like Akismet, IIRC) could be helpful. If you open an issue in our github issue tracker, we will weigh this in future release.

    Thanks

    • This reply was modified 7 years, 3 months ago by rajuru.
    • This reply was modified 7 years, 3 months ago by rajuru.
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin Settings disappear when deactivated’ is closed to new replies.