Skip to content

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

Merged
progier389 merged 1 commit into
389ds:mainfrom
navidys:account_policy_dsidm_crash
Aug 12, 2024
Merged

Issue 6288 - dsidm crash with account policy plugin when alt-state-attr is disabled#6292
progier389 merged 1 commit into
389ds:mainfrom
navidys:account_policy_dsidm_crash

Conversation

@navidys
Copy link
Copy Markdown
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
Copy Markdown
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
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