Skip to content

Settings lost after disconnecting and reconnecting with same API key #1058

@kushh23

Description

@kushh23

Description

After disconnecting and then reconnecting Optimole (even with the same API key), all previously configured settings are wiped and reverted to defaults. Only the exclusion filters are preserved. Site owners must then manually reconfigure options like Retina, compression, machine learning toggle, lazyload, CDN, and more.

Expected:
All previously configured settings should be retained if reconnecting with the same API key and the plugin was not deleted. User/disconnection should not result in loss of custom configuration.

Actual:
All advanced settings revert to default after reconnect. This is confusing and can require significant time to reconfigure, especially for large/multisite installs.

Step-by-step reproduction instructions

  1. Configure Optimole settings (compression, lazyload, retina, watermark, etc.). Save changes.
  2. Disconnect Optimole from the dashboard (do NOT delete the plugin and do NOT remove the database).
  3. Reconnect using the same API key/account.
  4. Observe that all advanced settings are set back to default, and must be reconfigured from scratch.

Screenshots, screen recording, code snippet or Help Scout ticket

User report: https://secure.helpscout.net/conversation/3293257808/487980

No deletion of plugin or database occurred. Settings lost instantly after reconnecting.

Environment info

No response

Is the issue you are reporting a regression

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer reportIndicates the request came from a customer.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions