Closed Bug 224759 Opened 21 years ago Closed 21 years ago

Tree displays text "null" for values pulled from database that are null

Categories

(Core Graveyard :: SQL, defect, P3)

x86
Windows XP
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8alpha1

People

(Reporter: murray.bryant, Assigned: janv)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 When viewing a tree that is connected to a datasource using mozdb, any values that are null in the database are being written into the label of the tree cell as the text "null" Reproducible: Always Steps to Reproduce: 1.Link Tree to datasource using mozdb 2. ensure that some of the values in database contain null's 3. view tree, will show the text null Actual Results: Draws the label with the text null Expected Results: Display a blank label in the tree
yeah, as we discussed I'll add a flag to the mozISqlResult interface - displayNullValues that defaults to false
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
Target Milestone: --- → mozilla1.8alpha
Attached patch fixSplinter Review
fixed
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
btw, the attribute is called displayNullAsText
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: