Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117798428
D127.1775263805.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D127.1775263805.diff
View Options
diff --git a/pykolab/xml/event.py b/pykolab/xml/event.py
--- a/pykolab/xml/event.py
+++ b/pykolab/xml/event.py
@@ -122,6 +122,7 @@
else:
self.from_ical(from_ical, from_string)
+ self.set_created(self.get_created())
self.uid = self.get_uid()
def _load_attendees(self):
diff --git a/pykolab/xml/todo.py b/pykolab/xml/todo.py
--- a/pykolab/xml/todo.py
+++ b/pykolab/xml/todo.py
@@ -61,6 +61,7 @@
else:
self.from_ical(from_ical, from_string)
+ self.set_created(self.get_created())
self.uid = self.get_uid()
def from_ical(self, ical, raw):
diff --git a/tests/unit/test-011-wallace_resources.py b/tests/unit/test-011-wallace_resources.py
--- a/tests/unit/test-011-wallace_resources.py
+++ b/tests/unit/test-011-wallace_resources.py
@@ -117,7 +117,7 @@
def _mock_find_resource(self, address):
if not 'resource' in address:
- return None
+ return [];
(prefix, domain) = address.split('@')
entry_dn = "cn=" + prefix + ",ou=Resources,dc=" + ",dc=".join(domain.split('.'))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 12:50 AM (22 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18827273
Default Alt Text
D127.1775263805.diff (1 KB)
Attached To
Mode
D127: Event/Todo 'created' property is mandatory now, fixes unit tests (T1182)
Attached
Detach File
Event Timeline