Closed Bug 457681 Opened 16 years ago Closed 16 years ago

if ExcludeReadOnlyFolders is false, readonly dynamic containers are still excluded

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mak, Assigned: mak)

References

Details

Attachments

(1 file)

In a normal situation ExcludeReadOnlyFolders is false, in such a case a readonly dynamic container is still excluded by a bogus if condition

-      if (itemType == TYPE_DYNAMIC_CONTAINER ||
-          (itemType == TYPE_FOLDER && options->ExcludeReadOnlyFolders())) {

so a folder containing dynamic containers will result empty
Attached patch patchSplinter Review
with unit test
Attachment #340918 - Flags: review?(dietrich)
Flags: in-testsuite?
Comment on attachment 340918 [details] [diff] [review]
patch

r=me
Attachment #340918 - Flags: review?(dietrich) → review+
http://hg.mozilla.org/mozilla-central/rev/77c1ff6133fc
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite? → in-testsuite+
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

Created:
Updated:
Size: