Bug 34277 - simple_response + LDAP_Connection
simple_response + LDAP_Connection
Status: RESOLVED DUPLICATE of bug 36131
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-06 13:50 CET by Florian Best
Modified: 2014-10-10 19:51 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2014-03-06 13:50:11 CET
These decorators cannot be used together.
simple_response should not restrict the arguments to (self, request) but pass every argument and keyword argument to the function.
Comment 1 Florian Best univentionstaff 2014-03-06 13:55:48 CET
At least it should be possible to retreive the 'request' object to call a second function which can then use the UCS@school LDAP_Connection decorator.
Comment 2 Florian Best univentionstaff 2014-10-10 19:51:46 CEST
Is fixed with the patch in Bug #36131.

*** This bug has been marked as a duplicate of bug 36131 ***