Bug 30584 - handler(..., operation) missing
handler(..., operation) missing
Status: CLOSED DUPLICATE of bug 30489
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 3.1
Other Linux
: P5 minor (vote)
: UCS 4.1-2-errata
Assigned To: Philipp Hahn
Arvid Requate
:
Depends on: 20605 30489
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-25 14:39 CET by Philipp Hahn
Modified: 2016-09-02 12:00 CEST (History)
1 user (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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***