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

TypeManager issue: is_changed() returns False when you set an EnumTypeField to a String #4

Open
felixs88 opened this issue Apr 17, 2019 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@felixs88
Copy link
Collaborator

QwikContext

TypeManager issue: is_changed() returns False when you set an EnumTypeField to a String

Details

>>> idrac.config_mgr._sysconfig.BIOS.PxeDev2EnDis = "Enabled"
>>> idrac.config_mgr._sysconfig.BIOS.is_changed()
False
>>> idrac.config_mgr._sysconfig.BIOS.PxeDev2EnDis = TypeHelper.convert_to_enum("Enabled", PxeDev2EnDisTypes)
>>> idrac.config_mgr._sysconfig.BIOS.is_changed() 
True

Repro Steps

Run the above code snippet

Impact

Not able to import the Server Configuration Profile since is_changed returns False.

NeedBy

Immediately

Severity

Severity -2 - Medium

@felixs88 felixs88 added bug Something isn't working help wanted Extra attention is needed labels Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant