Title: [commits] (vajda) [15927] - fixed bug 11472 (r=morgen)
Revision
15927
Author
vajda
Date
2007-11-27 15:59:38 -0800 (Tue, 27 Nov 2007)

Log Message

- fixed bug 11472 (r=morgen)
(http://bugzilla.osafoundation.org/show_bug.cgi?id=11472)
Assertion when subscribing and unchecking "keep out of dashboard"

Modified Paths

Diff

Modified: trunk/chandler/repository/item/Sets.py (15926 => 15927)

--- trunk/chandler/repository/item/Sets.py	2007-11-27 22:51:07 UTC (rev 15926)
+++ trunk/chandler/repository/item/Sets.py	2007-11-27 23:59:38 UTC (rev 15927)
@@ -371,7 +371,7 @@
             if change == 'collection':
 
                 if op in ('add', 'remove'):
-                    otherItem = self.itsView.get(other)
+                    otherItem = self.itsView.find(other)
 
                     if op == 'add':
                         if (otherItem is not None and
@@ -1582,7 +1582,7 @@
                     if other not in index:
                         op = None
                 elif not self.filter(other):
-                    otherItem = self.itsView.get(other)
+                    otherItem = self.itsView.find(other)
                     if not (otherItem is None or otherItem.isDeleting()):
                         op = None
 
@@ -1606,7 +1606,7 @@
                 contains = None
                 
             if matched and not contains is True:
-                item = self.itsView.get(other)
+                item = self.itsView.find(other)
                 if item is None or not item.isDeferring():
                     self._collectionChanged('add', 'collection', other, ())
             elif not matched and not contains is False:




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to