On Oct 10, 2006, at 2:55 PM, [email protected] wrote:
Revision---
11978
Author
john
Date
2006-10-10 11:55:51 -0700 (Tue, 10 Oct 2006)
Log Message
Fix bug #6918: selecting multiple collections throws exception, corrupts repository
Modified Paths
trunk/chandler/parcels/osaf/views/main/SideBar.py
Diff
Modified: trunk/chandler/parcels/osaf/views/main/SideBar.py (11977 => 11978)
--- trunk/chandler/parcels/osaf/views/main/SideBar.py 2006-10-10 18:48:26 UTC (rev 11977)
+++ trunk/chandler/parcels/osaf/views/main/SideBar.py 2006-10-10 18:55:51 UTC (rev 11978)
@@ -1184,8 +1184,10 @@
# consumers know what the 'primary' collection is.
if item is not None:
collectionList.append (item)
- if (sidebar.filterClass not in sidebar.disallowOverlaysForFilterClasses and
- not (item is not None and UserCollection (item).outOfTheBoxCollection)):
+ # When item is none we have multiple selections
+ if (item is None or
+ (sidebar.filterClass not in sidebar.disallowOverlaysForFilterClasses and
+ (not UserCollection (item).outOfTheBoxCollection))):
for theItem in sidebar.contents:
if ((theItem in sidebar.checkedItems or sidebar.contents.isItemSelected (theItem)) and
theItem not in collectionList):
_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits
Bear
Build and Release Engineer
Open Source Applications Foundation (OSAF)
[EMAIL PROTECTED]
http://www.osafoundation.org
[EMAIL PROTECTED]
http://code-bear.com
PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29
PGP.sig
Description: This is a digitally signed message part
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list http://lists.osafoundation.org/mailman/listinfo/chandler-dev
