dell / dell/omsdk

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

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Python
Stars
63
Forks
22
PR merge metrics
No merged PRs in 30d

Description

# 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.