Skip to content

Commit d41e1e1

Browse files
authored
Fix install BBB plugin installation #2615
1 parent 700cd9e commit d41e1e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

public/main/inc/ajax/plugin.ajax.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@
193193
case 'install':
194194
$appPlugin->install($pluginTitle);
195195

196+
// BBB persists the plugin entity in its installation process. It throws a duplicate key exception.
197+
$pluginEntity = $pluginRepository->findOneBy(['title' => $pluginTitle]);
198+
196199
if (!$pluginEntity) {
197200
$pluginEntity = new PluginEntity();
198201
}

0 commit comments

Comments
 (0)