Closed Bug 371121 Opened 17 years ago Closed 17 years ago

crash on clicking an insert trigger on a repeat within which is a select1 or select

Categories

(Core Graveyard :: XForms, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: stephen.green, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Build Identifier: XForms extension 0.7.0.1 in Firefox 2.0.0.1

If an xforms repeat contains a select or select1 then there is a crash when an insert trigger is used to add a row to the repeating rows

Reproducible: Always

Steps to Reproduce:
1. create xform with a repeat, a select1 inside it and an insert trigger
2. run the xform
3. click the insert trigger (button)
(note: this at least happens when the select or select1 uses dynamic model/instance rather than static list of names/values)
Actual Results:  
Browser crashed

Expected Results:  
repeating row added with selection drop-down included
Could you upload a testcase (using "Add an attachment").
I get a parsing error when loading the testcase.
Because apparently it is a .zip file, not .xhtml file ;)
Could you please make a minimized testcase.
The testcase attached runs very slowly but doesn't crash on
trunk/Linux.
The crash takes place when the example is openned in Firefox on Windows XP and the trigger to insert a line within the repeat which contains the select is clicked.
I tried to recreate this on trunk.  Couldn't.  I did recreate this on 1.8 branch, so we've fixed this bug sometime since shipping 0.7.0.1.  Since the crash on 1.8 branch is in the control list, I'm assuming the patch that fixed it was the one Olli did for bug 368627.  So I'm returning this WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
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: