obsidian42-brat icon indicating copy to clipboard operation
obsidian42-brat copied to clipboard

When adding plugins, it is necessary to prevent duplicate submissions

Open chenbihao opened this issue 1 year ago • 1 comments

The click button was not feeded just now, so I ordered a few more times, which will lead to downloading multiple plug -in of the same name, and can only be managed to one of them.

chenbihao avatar Jul 30 '24 01:07 chenbihao

Not sure if it's linked but I tried installing Query Control and resulted in having two versions of the same plugin.

I then uninstalled the plugin but although it doesn't show up in my community plugin list or in BRAT's list anymore, it still shows one of the two as active in the left panel of settings (the one displaying three lists by default : Options, Core Plugins, and Community Plugins). The plugin is still active and it seems it cannot be uninstalled... therefore I cannot find a way to re-install it.

Actually this is where I found out there were two versions : I'm not sure if both versions ever showed up when actually opening the dedicated "Options/Community Plugin" setting).

The Query Control plugin itself never worked as expected : turning on/off switch in the graphic interface worked ; manually adding lines in the query field never did. I wanted to reinstall it without duplicate version to see if it was ever going to work both ways.

Thanks for attention

A000045 avatar Oct 01 '24 00:10 A000045

Find myself in the same boat when installing Datacore. Fixed this by toggling restricted mode to refresh the list of community plugin configurations.

luckb0x avatar Nov 03 '24 02:11 luckb0x

Not sure if it's linked but I tried installing Query Control and resulted in having two versions of the same plugin.

As @TfTHacker mentioned in a comment on https://github.com/nothingislost/obsidian-query-control/issues/54, there is an active "fork". However, this fork has a different plugin-id (query-control) from the original at nothingislost/obsidian-query-control(which has plugin-id obsidian-query-control). Maybe this lead to these duplicates?

In principle there should be no "Zombie" plugins (i.e. plugins which can't be uninstalled), at the very least if they were damaged or outdated, they would show up in "Community Plugins" and you would not be able to enable them.

As for the original comment: Even if you manage to trigger the installation twice, there should be (and will be) only one version of the plugin, BRAT will simply overwrite the first version again. Therefore I think this is a non-issue. If you have duplicates, can you reopen with a screenshot?

johannrichard avatar Apr 05 '25 21:04 johannrichard