GNOME Bugzilla – Bug 673613
GNOME Shell should resolve extension conflicts
Last modified: 2012-04-09 17:06:04 UTC
Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=803760 If gnome-shell tries to load multiple extensions that have the same UUID, it will throw an error and crash.
Created attachment 211497 [details] [review] extensionUtils: Load user extensions before system extensions
Created attachment 211498 [details] [review] extensionSystem: Make it a non-fatal error to re-load an extension
Review of attachment 211498 [details] [review]: Yeah that indeed should not cause a crash. ::: js/ui/extensionSystem.js @@ +251,2 @@ if (ExtensionUtils.extensions[uuid] != undefined) { + global.logError('Extension "%s" is already loaded'.format(uuid)); Shouldn't that abort after that? i.e return?
Review of attachment 211497 [details] [review]: Looks good.
Created attachment 211658 [details] [review] extensionSystem: Make it a non-fatal error to re-load an extension Er, right you are.
Review of attachment 211658 [details] [review]: Looks good.
Attachment 211497 [details] pushed as 5ea5806 - extensionUtils: Load user extensions before system extensions Attachment 211658 [details] pushed as b095319 - extensionSystem: Make it a non-fatal error to re-load an extension