Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow erasing ipaDomainResolutionOrder attribute #665

Closed

Conversation

fidencio
Copy link
Contributor

@fidencio fidencio commented Mar 28, 2017

Currently when trying to erase the ipaDomainResolutionOrder attribute we
hit an internal error as the split() method is called on a None object.

By returning early in case of empty string we now allow removing the
ipaDomainResolutionOrder attribute by both doing calling delattr or
setting its value to an empty string.

https://pagure.io/freeipa/issue/6825

Signed-off-by: Fabiano Fidêncio fidencio@redhat.com

@fidencio fidencio force-pushed the wip/ipaDomainResolutionOrder branch from afa6e83 to e81f650 Compare March 28, 2017 15:50
@MartinBasti
Copy link
Contributor

LGTM

Currently when trying to erase the ipaDomainResolutionOrder attribute we
hit an internal error as the split() method is called on a None object.

By returning early in case of empty string we now allow removing the
ipaDomainResolutionOrder attribute by both calling delattr or setting
its value to an empty string.

https://pagure.io/freeipa/issue/6825

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
@fidencio fidencio force-pushed the wip/ipaDomainResolutionOrder branch from e81f650 to 7d2b66c Compare March 28, 2017 18:25
@fidencio
Copy link
Contributor Author

I have updated the commit message as I found a typo there: "both doing calling delattr or" -> "both calling delattr or"

@MartinBasti MartinBasti self-assigned this Mar 30, 2017
@MartinBasti MartinBasti added the ack Pull Request approved, can be merged label Mar 30, 2017
@MartinBasti
Copy link
Contributor

master:

  • e03056c Allow erasing ipaDomainResolutionOrder attribute

ipa-4-5:

  • 08a921c Allow erasing ipaDomainResolutionOrder attribute

@MartinBasti MartinBasti added the pushed Pull Request has already been pushed label Mar 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
2 participants