sunbird doesn't work with the extension manager



15 years ago
13 years ago


(Reporter: mvl, Assigned: mvl)




(1 attachment)

Sunbird doesn't start due to the extension manager. I've seen it going into an
infinite restart loop.
Two solutions: fix the extension manager or disable it. It doesn't look like it
will be fixed, and given that sunbird doesn't have a use for it, i want to
disable it.
Created attachment 151959 [details] [diff] [review]
disable it

There is no configure option or anything, so i just hacked some ifdefs into
(apps should really be able to opt out from the extension manager....)


15 years ago
Attachment #151959 - Flags: first-review?(bsmedberg)

Comment 2

15 years ago
Comment on attachment 151959 [details] [diff] [review]
disable it

1) Using #ifdefs is not acceptable. If you must do configuration like this,
please add a boolean flag to the nsXULAppAPI structure.

2) I *strongly* encourage you to use the extension manager. You will probably
want it for theme and langpack management. Does your app have the basic
required UID and version set in prefs? I would prefer to fix the EM rather than
paper over the problems.
Attachment #151959 - Flags: first-review?(bsmedberg) → first-review-
Is there some documentation that describes what is needed to make extension
manager work? i tried to reverse engineer the checkins, but couldn't figure it out.
This patch is just to get sunbird running again. I don't see any movement in
making the extension manager work for sunbird. I don't like to touch all
standalone apps now. I just want sunbird working again. The real fix can come later.
I agree bsmedberg

We (at least I) *want* EM in Sunbird, especially in the future, since I will be
doing some additions to calendar which will allow calendar specific extensions
to come, (no talk on them yet until they are done and mostafah approves).  Since
it is stuff that Cal could really use but imo shouldnt be in by default.

Though right now all we need is Sunbird _running_ once that is done the needed
EM fixes to get it to be enabled/disabled by choice for each *app* can come later.

With mine and Wolf's comments I will request review once more
Attachment #151959 - Flags: first-review- → first-review?(bsmedberg)

Comment 6

15 years ago
Running "make sunbird" in mozilla/calendar/sunbird is a good way to make sure
all the files needed to run sunbird have been built and are present. I've
updated the makefile to check for the files needed for extension manager support.
When I build sunbird the old way, that is by including browser/config/mozconfig
and --enable-calendar, I get all the files. If building sunbird with the new
instructions does not produce the list of files needed, we should update our
mozconfig and/or instructions.
The problem is in some magic combination of needed files, needed prefs and maybe
other stuff. As long as we don't know which combination, i'd like sunbird to
still work.

Comment 8

15 years ago
This check-in adds extension manager support to sunbird and the build eventually

Note that sunbird's app uid is:


the theme uid is:


and there is one extension uid available which originally was for inspector:


(It's empty now )

With this sunbird should be alive again and tweaks can be made to these
extensions to make them work properly.

Can somebody else give it a try too?

Comment 9

15 years ago
Comment on attachment 151959 [details] [diff] [review]
disable it

Is this bug resolved, now?
Attachment #151959 - Flags: first-review?(bsmedberg) → first-review-

Comment 10

15 years ago
Is the Extension Manager is going to be exposed, so we can start writing Sunbird

Comment 11

15 years ago
This bug is resolved.
David: Extension support for sunbird is being tracked in bug 115226.
Last Resolved: 15 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: General. Be afraid for your sanity!
QA Contact: gurganbl → general
You need to log in before you can comment on or make changes to this bug.