DSLdapObject has an overridden __getattr__ method. In case the requested
attribute doesn't exist, getattr() goes into an infitite recursive loop,
only to be interrupted by a RecursionError exception.
rename() method has one such lookup for a non-existent attribute,
and it's not used at all.
Fix Description:
Restore the default behaviour of getattr() when attribute doesn't exist.
Bug Description:
DSLdapObject has an overridden
__getattr__method. In case the requestedattribute doesn't exist,
getattr()goes into an infitite recursive loop,only to be interrupted by a
RecursionErrorexception.rename()method has one such lookup for a non-existent attribute,and it's not used at all.
Fix Description:
getattr()when attribute doesn't exist.rename().Fixes: https://pagure.io/389-ds-base/issue/50638
Reviewed by: ???