Closed Bug 325763 Opened 19 years ago Closed 19 years ago

Remove calls to IsVoid

Categories

(Firefox :: Bookmarks & History, defect, P4)

defect

Tracking

()

RESOLVED FIXED
Firefox 2 beta1

People

(Reporter: brettw, Assigned: brettw)

References

Details

(Keywords: fixed1.8.1)

Attachments

(1 file, 1 obsolete file)

When bug 324994 is done, storage will call SetIsVoid on null strings so we won't have to. Remove the checks in places for this.
Severity: normal → trivial
Priority: -- → P4
Target Milestone: --- → Firefox 2 beta1
Attached patch Patch (obsolete) — Splinter Review
Now that the storage service sets IsVoid when the column is NULL, we can remove our checks.
Attachment #211068 - Flags: review?(annie.sullivan)
Attachment #211068 - Flags: review?(annie.sullivan) → review+
In testing this it seems sqlite treats empty strings the same as NULLs so this doesn't do what we want. Instead, we should have another method for differentiating unset user titles from set empty user titles.
Severity: trivial → minor
Summary: Remove calls to SetIsVoid → Support empty user titles (differentiatable from unset)
Attachment #211068 - Attachment is obsolete: true
My previous tests were wrong, null and empty string are distinct
Summary: Support empty user titles (differentiatable from unset) → Remove calls to IsVoid
Attached patch New patchSplinter Review
This patch is the uploaded one. It fixes a one-line problem where void strings are not handled properly in row reading.
On branch and trunk
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: