#4086 closed defect (fixed)
FilteringSelect: Invalid message alert not popping up
Reported by: | ptbrunet | Owned by: | haysmark |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Dijit - Form | Version: | 0.9 |
Keywords: | Cc: | ptbrunet | |
Blocked By: | Blocking: |
Description
Using the inline test case, enter invalid text into the state entry box, e.g. Iowax. An alert popup should appear such as those that appear in the validate test case.
Attachments (1)
Change History (12)
comment:1 Changed 13 years ago by
Owner: | set to haysmark |
---|
comment:2 Changed 13 years ago by
Summary: | Invalid message alert not popping up on FilteringSelect → FilteringSelect: Invalid message alert not popping up |
---|
comment:3 Changed 13 years ago by
The inheritance is not calling ValidationTextBox? code like I thought. I will have to address the postMixInProperties and postCreate prototypes directly.
comment:4 Changed 13 years ago by
Status: | new → assigned |
---|
comment:5 Changed 13 years ago by
So FilteringSelect? already works standalone. The patch I appended makes it work in InlineEditBox?, but breaks the standalone case.
comment:6 Changed 13 years ago by
Actually I can't reproduce the problem I was having earlier, so this patch should work.
comment:7 Changed 13 years ago by
Nevermind again, here is the error:
[Exception... "'dijit.form.FilteringSelect?: name argument ("postMixInProperties") to inherited must match callee (declare.js)' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
Line 0
comment:8 Changed 13 years ago by
Right, so here is what is going on:
The i18n is not being loaded, period. That means the default message does not appear. You see the tooltips in test_FilteringSelect because those are all user-defined.
I don't know why I am getting that error yet but I am working on it.
comment:9 Changed 13 years ago by
The problem is in test_FilteringSelect. Someone added script tags to manually load FilteringSelect?.js and ValidationTextBox?.js. Removing these extra tags fixed the test.
comment:10 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [10376]) Fixes #4086. Proxy commit for haysmark. Added calls to postMixinProperties and postCreate of ValidationTextBox? and MappedTextBox? in ComboBox? and FilteringSelect?, in order to get the default error message to load. Removed extraneous script tags from the test_FilteringSelect tests, which were conflicting with this fix.
comment:11 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
The test case is .../dijit/tests/form/test_InlineEditBox.html