Closed
Bug 290812
Opened 20 years ago
Closed 20 years ago
Problems with firefox built from trunk
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: allan, Assigned: doronr)
References
()
Details
Attachments
(2 files, 1 obsolete file)
|
1.62 KB,
application/xhtml+xml
|
Details | |
|
1.75 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
I've just built firefox and an xforms.xpi from trunk, and there seems to be a problem with xforms.properties. When I trigger an XForms error message, I get this message on the JavaScript console once: "No chrome package registered for chrome://xforms/locale/xforms.properties"
Can you verify this bug again Allan? Seems to work ok on a firefox build I did on Windows on 15/05. Thanks.
| Reporter | ||
Comment 2•20 years ago
|
||
(In reply to comment #1) > Can you verify this bug again Allan? Seems to work ok on a firefox build I did > on Windows on 15/05. Thanks. Still there, on a build from this morning.
| Reporter | ||
Comment 3•20 years ago
|
||
Loading this form shows the "no chrome..." error from above, and: nsXFormsModelElement::Rebuild() nsXFormsModelElement::Recalculate() nsXFormsModelElement::Revalidate() nsXFormsUtils::ReportError() Failed to get message string for message id 'idRefError'! WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsXFormsUtils.cpp, line 490 WARNING: NS_ENSURE_TRUE(mModel) failed, file nsXFormsControlStub.cpp, line 228 WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsStringBundle.cpp, line 273 nsXFormsUtils::ReportError() Failed to get message string for message id 'controlBindError'!
doron said that he's got some time to look at this. I didn't see this with my Firefox build running with the XBL patches.
Assignee: allan → doronr
| Assignee | ||
Comment 6•20 years ago
|
||
Simple - install.rdf is missing the locale registration section.
Attachment #185064 -
Flags: review?(allan)
| Assignee | ||
Comment 7•20 years ago
|
||
I also bumped the version of the XPI to 0.2
| Reporter | ||
Comment 8•20 years ago
|
||
(In reply to comment #7) > I also bumped the version of the XPI to 0.2 While we're at it how about setting maxVersion to 1.1 instead of 1.0+? Or is that not allowed?
| Reporter | ||
Comment 9•20 years ago
|
||
Comment on attachment 185064 [details] [diff] [review] patch I do not know enough about extensions to say whether it is a correct fix, but it fixes the bug. r=me, but consider the maxVersion too
Attachment #185064 -
Flags: review?(allan) → review+
| Reporter | ||
Comment 10•20 years ago
|
||
(In reply to comment #7) > I also bumped the version of the XPI to 0.2 You need to set PACKAGE_VERSION in Makefile.in too. I tried to make it is as generic as possibly in bug 285418, but install.rdf still needs to be modified and possibly other places too. Please check.
| Assignee | ||
Comment 11•20 years ago
|
||
Bumped maxVersion and the makefile. The reason the patch works is that you need to tell it what dirs in the jar need to be registered, and we are missing the locales directory
Attachment #185064 -
Attachment is obsolete: true
Attachment #185151 -
Flags: review?(smaug)
Updated•20 years ago
|
Attachment #185151 -
Flags: review?(smaug) → review+
| Assignee | ||
Comment 12•20 years ago
|
||
checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•