Page MenuHomePhorge

Implement ACT_STORE_AND_NOTIFY policy for resources, add webmail url to the notification body
ClosedPublic

Authored by mollekopf on Dec 4 2021, 10:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 13, 12:30 PM
Unknown Object (File)
Sat, Mar 30, 12:33 PM
Unknown Object (File)
Fri, Mar 29, 4:47 AM
Unknown Object (File)
Thu, Mar 28, 2:00 PM
Unknown Object (File)
Wed, Mar 27, 3:10 AM
Unknown Object (File)
Tue, Mar 26, 1:46 AM
Unknown Object (File)
Feb 14 2024, 7:57 AM
Unknown Object (File)
Feb 10 2024, 9:24 AM
Subscribers

Details

Summary

Set the status to NEEDS_ACTION and don't send out an immediate reply to
the organizer.

Diff Detail

Repository
rP pykolab
Branch
dev/resourcemanagement
Lint
Lint Errors
SeverityLocationCodeMessage
Errorpykolab/imap/__init__.py:555E714PEP8 E714
Errorpykolab/imap/__init__.py:602E714PEP8 E714
Errorpykolab/imap/__init__.py:854E714PEP8 E714
Warningwallace/module_resources.py:1708W503PEP8 W503
Unit
No Test Coverage
Build Status
Buildable 37322
Build 14978: arc lint + arc unit

Event Timeline

mollekopf created this revision.
machniak subscribed.
# nosetests tests/unit/test-011-wallace_resources.py
.....E
======================================================================
ERROR: test_007_accept_reservation_request_store_and_notify
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 134, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib64/python2.7/site-packages/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/root/kolab-pykolab/tests/unit/test-011-wallace_resources.py", line 274, in test_007_accept_reservation_request_store_and_notify
    self.assertEqual("resource-collection-car@example.org", self.smtplog[1][0])
IndexError: list index out of range

it should be self.smtplog[0]0] in line 274 and self.smtplog[0][1] in line 276.

This revision now requires changes to proceed.Dec 8 2021, 10:37 AM

addressed comment, but I unfortunately still can't run the nosetests

This revision is now accepted and ready to land.Dec 16 2021, 2:00 PM
This revision was landed with ongoing or failed builds.Dec 16 2021, 3:41 PM
This revision was automatically updated to reflect the committed changes.