Closed
Bug 269655
Opened 20 years ago
Closed 19 years ago
Error: autocomplete controller has no properties
Categories
(Calendar :: Sunbird Only, defect)
Calendar
Sunbird Only
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mattwillis, Assigned: mattwillis)
Details
Attachments
(1 file)
|
7.39 KB,
patch
|
mostafah
:
first-review+
|
Details | Diff | Splinter Review |
When attempting to create a new event (by clicking the toolbar button), I get the following error in the Javascript Console: Error: Components.classes['@mozilla.org/autocomplete/controller;1'] has no properties Source File: chrome://global/content/bindings/autocomplete.xml Line: 52 The event gets created normally. Sunbird 0.2b OSX
This also has happened on Windows Sunbird builds as far back as I can remember, maybe it has always happened. It does not happen in the Calendar extensions. --> hardware all, OS all.
OS: MacOS X → All
Hardware: Macintosh → All
| Assignee | ||
Comment 2•20 years ago
|
||
So according to XULPlanet, there are different autocomplete interfaces for Mozilla and Firefox. The parameters in our .xul files are of the Mozilla format. Moving from one format to the other is not simply changing parameter labels. Looking at what Firefox does, there are js functions associated with all sorts of things... meaning it's not something I want to get into right now, but at least we know why it was happening. I've made a patch that puts the autocomplete stuff inside #ifndef MOZ_SUNBIRD
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•20 years ago
|
||
If possible, I feel this should make it into SB 0.2b1, to remove this bug's error
Assignee: mostafah → mattwillis
| Assignee | ||
Updated•20 years ago
|
Attachment #166614 -
Flags: first-review?(mostafah)
Comment 4•20 years ago
|
||
using #ifndef MOZ_SUNBIRD will leave the firefox/thunderbird xpi's still broken.
| Assignee | ||
Comment 5•20 years ago
|
||
(In reply to comment #4) > using #ifndef MOZ_SUNBIRD will leave the firefox/thunderbird xpi's still broken. Is there any definition that will give me what we need then?
Comment 6•20 years ago
|
||
Not a build-time definition, because firefox and seamonkey both use the same xpi files. It has to be runtime, or we have to decide to split the files. We are gettting more and more conflicts...
Sounds like you are working on a different issue -- I don't get this error message in firefox, only sunbird. On the other hand, I don't think I've ever seen any autocompletion on FF, TB, or Moz either (on w2k), so there may be other autocomplete issues.
| Assignee | ||
Comment 8•20 years ago
|
||
We could also choose to pull the autocomplete for now. That would remove the conflict... ;)
Comment 9•20 years ago
|
||
Comment on attachment 166614 [details] [diff] [review] rev0 - puts Mozilla-only autocomplete inside ifndef MOZ_SUNBIRD Checked into trunk and branch. Should I leave open for better fix?
Attachment #166614 -
Flags: first-review?(mostafah) → first-review+
Comment 10•20 years ago
|
||
Let's keep this open for a fix for the xpi's.
Updated•19 years ago
|
QA Contact: gurganbl → sunbird
| Assignee | ||
Comment 11•19 years ago
|
||
Closing this as any future xpi will be toolkit-based. -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•