Closed Bug 355743 Opened 18 years ago Closed 18 years ago

(1.8.0 0.7 nightly) select not showing items

Categories

(Core Graveyard :: XForms, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: federico.gimenez, Assigned: aaronr)

References

Details

(Keywords: fixed1.8.0.8, fixed1.8.1.1)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7

(1.8.0 0.7 nightly) Items inside a select or select1 are not shown in the detail view of master/detail constructions when the ref attribute of the select reffers to an index in another instance, like:
<xforms:select ref="instance('data')/element[position()=instance('parameters')/index]">
  <xf:item>
   ... 
</xforms:select>

Reproducible: Always
Attached file test case
Master/deatil view construction with a select in the detail view. In master view an index is set. In detail view, the select wich ref uses this index doesn't show any item.
problem is that we don't ensure that accessors.getValue returns a string.  We need to make sure that we are dealing with at least an empty string inside getValuesArray().
Assignee: xforms → aaronr
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Attached patch patch 1Splinter Review
Attachment #241479 - Flags: review?(surkov.alexander)
Blocks: 334603
Attachment #241479 - Flags: review?(surkov.alexander) → review+
Attachment #241479 - Flags: review?(doronr)
Attachment #241479 - Flags: review?(doronr) → review+
checked into trunk
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
*** Bug 356199 has been marked as a duplicate of this bug. ***
checked into 1.8.0 branch on 2006/10/11
Keywords: fixed1.8.0.8
checked into 1.8 branch on 2006/11/21
Keywords: fixed1.8.1.1
Whiteboard: xf-to-branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: