URL: https://github.com/freeipa/freeipa/pull/1437 Author: flo-renaud Title: #1437: Idviews: fix objectclass violation on idview-add Action: opened
PR body: """ When the option --domain-resolution-order is used with the command ipa idview-add, the resulting LDAP object stores the value in ipadomainresolutionorder attribute. The issue is that the add command does not add the needed object class (ipaNameResolutionData) because it is part of possible_objectclasses but not of object_class.
The fix makes sure to add the objectclass when the option --domain-resolution-order is used, and adds a non-regression test.
Note that idview-mod does not have any issue as it correctly handles the addition of missing possible objectclasses.
Fixes: https://pagure.io/freeipa/issue/7350 """
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1437/head:pr1437 git checkout pr1437