Closed Bug 292616 Opened 20 years ago Closed 20 years ago

Controls not refreshing when instance data is replaced (submission)

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: allan, Assigned: allan)

References

()

Details

Attachments

(1 file)

We do not refresh the controls on a <submission replace="instance"/>.
Attached patch PatchSplinter Review
Here's a fix.

It also includes:
* using the namespace attributes from the model too
* reporting errors on console on error in instance data loading
Attachment #182399 - Flags: review?(doronr)
Status: NEW → ASSIGNED
Comment on attachment 182399 [details] [diff] [review]
Patch

>+  // Add URI, etc? (XXX)
>+  if (!newDoc) {
>+    nsXFormsUtils::ReportError(NS_LITERAL_STRING("instanceParseError"),
>+                               mElement);
>+    return NS_ERROR_UNEXPECTED;
>+  }
We tend to do // XXX: Add URI, etc?

r=doron
Attachment #182399 - Flags: review?(doronr) → review+
Attachment #182399 - Flags: review?(smaug)
Attachment #182399 - Flags: review?(smaug) → 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: