Skip to content

Issue 6288 - dsidm crash with account policy plugin when alt-state-attr is disabled #6292

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

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

navidys
Copy link
Contributor

@navidys navidys commented Aug 9, 2024

Issue 6288 - dsidm crash with account policy plugin when alt-state-attr is disabled

Bug Description:
If disable alt-state-attr for account policy plugin by using value 1.1 then dsidm command will crash if state-attr doesn't exit at that time.

Fix Description:
Check if alt-state-attri key exist under account data dict before getting its value.

relates: #6288

Author: Navid Yaghoobi

Reviewed by: @progier389

…isabled

Bug Description:
If disable alt-state-attr for account policy plugin by using value 1.1 then
dsidm command will crash if state-attr doesn't exit at that time.

Fix Description:
Check if alt-state-attri key exist under account data dict before getting its value.

relates: 389ds#6288

Author: Navid Yaghoobi

Reviewed by:
Copy link
Contributor

@progier389 progier389 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@progier389 progier389 merged commit 816a362 into 389ds:main Aug 12, 2024
9 checks passed
droideck pushed a commit that referenced this pull request Mar 28, 2025
…isabled (#6292)

Bug Description:
If disable alt-state-attr for account policy plugin by using value 1.1 then
dsidm command will crash if state-attr doesn't exit at that time.

Fix Description:
Check if alt-state-attri key exist under account data dict before getting its value.

relates: #6288

Author: Navid Yaghoobi

Reviewed by: @progier389
droideck pushed a commit that referenced this pull request Mar 28, 2025
…isabled (#6292)

Bug Description:
If disable alt-state-attr for account policy plugin by using value 1.1 then
dsidm command will crash if state-attr doesn't exit at that time.

Fix Description:
Check if alt-state-attri key exist under account data dict before getting its value.

relates: #6288

Author: Navid Yaghoobi

Reviewed by: @progier389
droideck pushed a commit that referenced this pull request Mar 28, 2025
…isabled (#6292)

Bug Description:
If disable alt-state-attr for account policy plugin by using value 1.1 then
dsidm command will crash if state-attr doesn't exit at that time.

Fix Description:
Check if alt-state-attri key exist under account data dict before getting its value.

relates: #6288

Author: Navid Yaghoobi

Reviewed by: @progier389
droideck pushed a commit that referenced this pull request Mar 28, 2025
…isabled (#6292)

Bug Description:
If disable alt-state-attr for account policy plugin by using value 1.1 then
dsidm command will crash if state-attr doesn't exit at that time.

Fix Description:
Check if alt-state-attri key exist under account data dict before getting its value.

relates: #6288

Author: Navid Yaghoobi

Reviewed by: @progier389
droideck pushed a commit that referenced this pull request Mar 28, 2025
…isabled (#6292)

Bug Description:
If disable alt-state-attr for account policy plugin by using value 1.1 then
dsidm command will crash if state-attr doesn't exit at that time.

Fix Description:
Check if alt-state-attri key exist under account data dict before getting its value.

relates: #6288

Author: Navid Yaghoobi

Reviewed by: @progier389
droideck pushed a commit that referenced this pull request Mar 28, 2025
…isabled (#6292)

Bug Description:
If disable alt-state-attr for account policy plugin by using value 1.1 then
dsidm command will crash if state-attr doesn't exit at that time.

Fix Description:
Check if alt-state-attri key exist under account data dict before getting its value.

relates: #6288

Author: Navid Yaghoobi

Reviewed by: @progier389
droideck pushed a commit that referenced this pull request Mar 28, 2025
…isabled (#6292)

Bug Description:
If disable alt-state-attr for account policy plugin by using value 1.1 then
dsidm command will crash if state-attr doesn't exit at that time.

Fix Description:
Check if alt-state-attri key exist under account data dict before getting its value.

relates: #6288

Author: Navid Yaghoobi

Reviewed by: @progier389
droideck pushed a commit that referenced this pull request Mar 28, 2025
…isabled (#6292)

Bug Description:
If disable alt-state-attr for account policy plugin by using value 1.1 then
dsidm command will crash if state-attr doesn't exit at that time.

Fix Description:
Check if alt-state-attri key exist under account data dict before getting its value.

relates: #6288

Author: Navid Yaghoobi

Reviewed by: @progier389
droideck pushed a commit that referenced this pull request Mar 28, 2025
…isabled (#6292)

Bug Description:
If disable alt-state-attr for account policy plugin by using value 1.1 then
dsidm command will crash if state-attr doesn't exit at that time.

Fix Description:
Check if alt-state-attri key exist under account data dict before getting its value.

relates: #6288

Author: Navid Yaghoobi

Reviewed by: @progier389
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants