Closed Bug 266626 Opened 20 years ago Closed 20 years ago

EvaluateNodeBinding is wrong for <submission> elements

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8beta1

People

(Reporter: darin.moz, Assigned: darin.moz)

References

Details

Attachments

(1 file)

EvaluateNodeBinding is wrong for <submission> elements. A <submission> element does not have a "model" attribute. As a result, EvaluateNodeBinding will always use the first <model> element in the document when evaluating a binding on a <submission> element. That's obviously wrong. It should instead walk the tree looking for a containing model element. I've got a patch to fix this problem.
Attached patch v1 patchSplinter Review
something like this perhaps...
Attachment #163787 - Flags: review?(bryner)
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8beta
Attachment #163787 - Flags: review?(bryner) → review+
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Blocks: 263086
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: