Red Hat Bugzilla – Bug 1250177
Investigate betxn plugins to ensure they return the correct error code
Last modified: 2015-11-19 06:43:56 EST
This bug is created as a clone of upstream ticket:
Some betxn plugins did not return error codes(they always return success). This was because before there were betxn plugins, their returns codes did not affect the if the operation was accepted or aborted. Now those errors do matter, and we need to make sure all the plugins are behaving correctly.
Bug Description: When the memberOf plugin tries to add memberOf attribute to
an entry during a mod-replace on a group, even though the
update to the user entry fails, but plugin still allows
the member to be added to the group.
Please add steps to reproduce.
script to verify fix:
Build tested: 389-ds-base-18.104.22.168-12.el7.x86_64
============================================================================ test session starts =============================================================================
platform linux2 -- Python 2.7.5 -- py-1.4.30 -- pytest-2.7.2 -- /usr/bin/python
rootdir: /tmp/test/ds/dirsrvtests/suites/betxns, inifile:
collected 5 items
========================================================================= 5 passed in 30.52 seconds ==========================================================================
Marking as VERIFIED.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.