Skip to content

Issue 6276 - Schema lib389 object is not keeping custom schema data upon editing#6279

Merged
droideck merged 2 commits into
389ds:mainfrom
droideck:i6276_fix
Sep 3, 2024
Merged

Issue 6276 - Schema lib389 object is not keeping custom schema data upon editing#6279
droideck merged 2 commits into
389ds:mainfrom
droideck:i6276_fix

Conversation

@droideck

Copy link
Copy Markdown
Member

Description: Fix the condition in _edit_schema_object function, so it corretcly evaluates when we need to set an empty value to schema object. Add tests to cover add and edit Schema operations.

Fixes: #6276

Reviewed by: ?

@droideck droideck changed the title Issue 6276 - Schema lib389 object is not keeping custom schema data u… Issue 6276 - Schema lib389 object is not keeping custom schema data upon editing Jul 26, 2024

@tbordaz tbordaz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread dirsrvtests/tests/suites/clu/schema_test.py
Comment thread dirsrvtests/tests/suites/clu/schema_test.py Outdated
Comment thread dirsrvtests/tests/suites/clu/schema_test.py Outdated

@progier389 progier389 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It definitively looks nicer with the parametrized fixture ! -:)
LGTM for me but you should better wait for the tests completion and check the result before merging.

…pon editing

Description: Fix the condition in _edit_schema_object function, so it corretcly evaluates when we need to set an empty value to schema object.
Add tests to cover add and edit Schema operations.

Fixes: 389ds#6276

Reviewed by: ?
@droideck droideck merged commit 6a784ef into 389ds:main Sep 3, 2024
droideck added a commit that referenced this pull request Sep 3, 2024
…pon editing (#6279)

Description: Fix the condition in the _edit_schema_object function
to correctly evaluate when to set an empty value to the schema object.
Add tests to cover adding and editing Schema operations.

Fixes: #6276

Reviewed by: @tbordaz, @progier389 (Thanks!)
droideck added a commit that referenced this pull request Sep 3, 2024
…pon editing (#6279)

Description: Fix the condition in the _edit_schema_object function
to correctly evaluate when to set an empty value to the schema object.
Add tests to cover adding and editing Schema operations.

Fixes: #6276

Reviewed by: @tbordaz, @progier389 (Thanks!)
droideck added a commit that referenced this pull request Sep 3, 2024
…pon editing (#6279)

Description: Fix the condition in the _edit_schema_object function
to correctly evaluate when to set an empty value to the schema object.
Add tests to cover adding and editing Schema operations.

Fixes: #6276

Reviewed by: @tbordaz, @progier389 (Thanks!)
droideck added a commit that referenced this pull request Sep 3, 2024
…pon editing (#6279)

Description: Fix the condition in the _edit_schema_object function
to correctly evaluate when to set an empty value to the schema object.
Add tests to cover adding and editing Schema operations.

Fixes: #6276

Reviewed by: @tbordaz, @progier389 (Thanks!)
droideck added a commit that referenced this pull request Sep 3, 2024
…pon editing (#6279)

Description: Fix the condition in the _edit_schema_object function
to correctly evaluate when to set an empty value to the schema object.
Add tests to cover adding and editing Schema operations.

Fixes: #6276

Reviewed by: @tbordaz, @progier389 (Thanks!)
droideck added a commit that referenced this pull request Sep 3, 2024
…pon editing (#6279)

Description: Fix the condition in the _edit_schema_object function
to correctly evaluate when to set an empty value to the schema object.
Add tests to cover adding and editing Schema operations.

Fixes: #6276

Reviewed by: @tbordaz, @progier389 (Thanks!)
droideck added a commit that referenced this pull request Sep 3, 2024
…pon editing (#6279)

Description: Fix the condition in the _edit_schema_object function
to correctly evaluate when to set an empty value to the schema object.
Add tests to cover adding and editing Schema operations.

Fixes: #6276

Reviewed by: @tbordaz, @progier389 (Thanks!)
droideck added a commit that referenced this pull request Sep 3, 2024
…pon editing (#6279)

Description: Fix the condition in the _edit_schema_object function
to correctly evaluate when to set an empty value to the schema object.
Add tests to cover adding and editing Schema operations.

Fixes: #6276

Reviewed by: @tbordaz, @progier389 (Thanks!)
@droideck droideck deleted the i6276_fix branch May 29, 2026 02:01
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.

Schema lib389 object is not keeping custom schema data upon editing

3 participants