Bug 30584

Summary: handler(..., operation) missing
Product: UCS Reporter: Philipp Hahn <hahn>
Component: Listener (univention-directory-listener)Assignee: Philipp Hahn <hahn>
Status: CLOSED DUPLICATE QA Contact: Arvid Requate <requate>
Severity: minor    
Priority: P5 CC: walkenhorst
Version: UCS 3.1   
Target Milestone: UCS 4.1-2-errata   
Hardware: Other   
OS: Linux   
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):
Max CVSS v3 score:
Bug Depends on: 20605, 30489    
Bug Blocks:    

Description Philipp Hahn univentionstaff 2013-02-25 14:39:58 CET
Bug #20605 added support for modrdn, but for flat-mode-support univentiond-directory-replication/replication.py is calling handler() without the required missing 4th parameter "operation":

699:     handler( tmpdn, tmpnew, tmpold )
795: def handler(dn, new, listener_old, operation):
1127:	handler('foo', {'foo': 'bar'}, {'foo': 'baz'})
1128:	handler('foo', {}, {'foo': 'baz'})
1129:	handler('foo', {'foo': 'baz'}, {})

Flat-Mode-Support is supposed to be removed via Bug #30489.
The other three instances are exmplates / test and should be either removed / updated / or re-written as doctest strings in handler() itself.
Comment 1 Philipp Hahn univentionstaff 2016-06-06 15:57:09 CEST
r69827 | Bug #41347 repl: Remove dead test code
 Flat-Mode-Support was removed.
 The broken tests were removed.

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