#50638 RecursionError: maximum recursion depth exceeded while calling a Python object
Closed: wontfix by vashirov. Opened by vashirov.

Issue Description

PR#50632 introduced regressions in lib389.
rename() method causes recursion error:

>       useraccount.rename("cn=Jeff Vedder")                                                                                                                   
dirsrvtests/tests/suites/acl/modrdn_test.py:111:                                                                                                               
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/lib389/lib389/_mapped_object.py:768: in rename                                                                                                             
    search_base = self._basedn
src/lib389/lib389/_mapped_object.py:200: in __getattr__
    getattr(self, name)
src/lib389/lib389/_mapped_object.py:200: in __getattr__
    getattr(self, name)
E   RecursionError: maximum recursion depth exceeded while calling a Python object
!!! Recursion detected (same locals & position)

The following tests are failing or crashing with errors:

dirsrvtests/tests/suites/acl/modrdn_test.py::test_allow_write_privilege_to_anyone FAILED                                                                [ 43%] 
dirsrvtests/tests/suites/acl/modrdn_test.py::test_allow_write_privilege_to_anyone ERROR                                                                 [ 43%] 
dirsrvtests/tests/suites/acl/modrdn_test.py::test_allow_write_privilege_to_dynamic_group_with_scope_set_to_base_in_ldap_url ERROR                       [ 44%] 
dirsrvtests/tests/suites/acl/modrdn_test.py::test_write_access_to_naming_atributes ERROR                                                                [ 44%] 
dirsrvtests/tests/suites/acl/modrdn_test.py::test_write_access_to_naming_atributes_two ERROR                                                            [ 45%] 
dirsrvtests/tests/suites/acl/modrdn_test.py::test_access_aci_list_contains_any_deny_rule ERROR                                                          [ 45%] 
dirsrvtests/tests/suites/acl/modrdn_test.py::test_renaming_target_entry ERROR                                                                           [ 45%]

Commit 1ac74076 fixes this issue

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/3693

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

Metadata
Related Pull Requests