Skip to content

Plugin config sometimes entirely resets #64

Description

@Jademalo

This was previously a ticket under #55, but I wanted to reopen the issue as it doesn't seem to be fixed.

I had the following error when all of the plugin data was deleted;
2023-11-11 02:00:24 GMT [OkHttp https://api.runelite.net/...] WARN n.r.client.config.ConfigClient - failed to synchronize some of 5/0 configuration values: {"rev":65,"failures":["pluginpresets.presets"]}

After asking on discord, the consensus seemed to be that the key was too long. The single key was ~280kb, all on a single line.

I wonder if the solution is to change how the plugin stores data when the profile is set to cloud mode, and instead use separate keys for each preset? That would prevent any one key from being obscenely long, especially if you have a couple of presets with a lot of options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions