| Summary: | content roaming bugs | ||
|---|---|---|---|
| Product: | papyon | Reporter: | Riccardo (c10ud) <c10ud.dev> |
| Component: | general | Assignee: | papyon-bugs |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
Riccardo (c10ud)
2010-11-10 09:59:37 UTC
diff --git a/papyon/service/ContentRoaming/scenario/store_profile.py b/papyon/se
index c4c64a7..8f5cb69 100644
--- a/papyon/service/ContentRoaming/scenario/store_profile.py
+++ b/papyon/service/ContentRoaming/scenario/store_profile.py
@@ -57,7 +57,7 @@ class StoreProfileScenario(BaseScenario):
0)
def __update_profile_callback(self):
- if self.display_picture is not None:
+ if self.__display_picture_id is not None:
self.__storage.DeleteRelationships(
(self.__delete_relationship_profile_callback,),
(self.__store_profile_errback,),
fixes
[20:55] <lfrb> ResourceID = None..
[20:56] <lfrb> that because papyon is trying to delete a relationship that doesn't exist
--- a/papyon/service/ContentRoaming/scenario/store_profile.py
+++ b/papyon/service/ContentRoaming/scenario/store_profile.py
@@ -57,10 +57,11 @@ class StoreProfileScenario(BaseScenario):
0)
def __update_profile_callback(self):
- if self.display_picture is not None:
+ if self.__display_picture_id is not None and \
+ self.display_picture is not None:
self.__storage.DeleteRelationships(
(self.__delete_relationship_profile_callback,),
this may actually be better, since it allows nick&pm update even when displaypic is faulty
Fixed in papyon 0.5.3 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.