Greetings,
As I develop my plugins further, with the new versions Bookmap emits warnings like:
20200129 07:58:34.725(UTC) WARN: Configuraion menu already has entry for com.bookmap.api.....
I suppose it is due to the fact, that the indicator with the same name has already existed and the configuration has changed (I have added new items).
I believe it is not only a warning, but a kind of error, since it seems, that the new configuration parameters are not getting added/saved.
Is there a way to remove the already existing config items? I have tried to rename the bookmap_config_v7.json (in that file I saw a lot of configs), but the settings have remained. Where are the plugin settings stored? (I am developing on MacOS, so please reveal on both platform the location).
Is there any other way to handle that compatibility problem?
First I thought that increasing the currentVersion
@StrategySettingsVersion(currentVersion = 2, compatibleVersions = {})
would handle it, but did not work.
Many thanks in advance.
Reset API plugin configuration
-
- Posts: 545
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 22 times
- Been thanked: 83 times
Re: Reset API plugin configuration
Hi! Rename the Config folder (the folder bookmap_config_v7.json is in). Bookmap will create a new one.
-
- Posts: 545
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 22 times
- Been thanked: 83 times
Re: Reset API plugin configuration
Hi AndreyR,
I am sorry for the late answer, I was on holiday.
The rename did not work, I had to delete it from the folder, remove the indicators and restart Bookmap to get rid of the configs. It is fine now, many thanks for your help.
I am sorry for the late answer, I was on holiday.
The rename did not work, I had to delete it from the folder, remove the indicators and restart Bookmap to get rid of the configs. It is fine now, many thanks for your help.