Closed
Bug 299032
Opened 20 years ago
Closed 20 years ago
Input not validated on load
Categories
(Core Graveyard :: XForms, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aaronr, Assigned: doronr)
Details
Attachments
(2 files)
We are having the problem again where controls may not be properly marked
invalid on load. It looks like if we include the MIP of 'required' on the bind,
then we'll go through the nsXFormsModelElement::ValidateNode code, otherwise we
won't. The MDG's recalculate doesn't seem to be sending back any changed nodes
upon document load whereas in the case of the 'required' MIP being present, then
it does.
Both inputs should be marked red, but only the one with the 'required' MIP is.
Under Novell and formsPlayer, both are marked red.
| Assignee | ||
Comment 2•20 years ago
|
||
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=nsXFormsModelElement.cpp&branch=&root=/cvsroot&subdir=mozilla/extensions/xforms&command=DIFF_FRAMESET&rev1=1.56&rev2=1.57
Caused by bug 283004 - before, AddMIP was called for eModel_type, currently it
isn't.
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•20 years ago
|
||
Assignee: aaronr → doronr
Attachment #187545 -
Flags: review?(allan)
Comment 4•20 years ago
|
||
Comment on attachment 187545 [details] [diff] [review]
patch - put back mip command for
Oooops, this one was my bad. Sorry.
>+ rv = mMDG.AddMIP(eModel_constraint, nsnull, nsnull, PR_FALSE, node, 1,
>+ 1);
Check the return value. With that r+ from me.
Attachment #187545 -
Flags: review?(allan) → review+
| Assignee | ||
Updated•20 years ago
|
Attachment #187545 -
Flags: review?(aaronr)
Attachment #187545 -
Flags: review?(aaronr) → review+
| Assignee | ||
Comment 5•20 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•