Closed Bug 299032 Opened 20 years ago Closed 20 years ago

Input not validated on load

Categories

(Core Graveyard :: XForms, defect)

x86
All
defect
Not set
normal

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.
Attached file testcase
Both inputs should be marked red, but only the one with the 'required' MIP is. Under Novell and formsPlayer, both are marked red.
Assignee: aaronr → doronr
Attachment #187545 - Flags: review?(allan)
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+
Attachment #187545 - Flags: review?(aaronr)
Attachment #187545 - Flags: review?(aaronr) → review+
checked in
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: