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

Fix unintended writes #37

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

f1ori
Copy link
Contributor

@f1ori f1ori commented Mar 17, 2015

Fix unintended writes caused by reading a multi-value attribute.

Reported by @No-L

As the connection is only established to test authentication, attribute
types are never used and we don't need to retrieve them
This corresponds better what happens for multi-value attributes, where
an empty set is returned
Some multi-value attributes were written although they where never
changed. Accessing them created an empty set, which is different from
the old value None. This unintented writing caused errors, when the user
only has permission to read the attribute.

The test-suite was updated to use a none-admin user for testing.
@@ -0,0 +1,9 @@
language: python
Copy link
Member

Choose a reason for hiding this comment

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

This file should not be part of this PR :-P

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.

None yet

3 participants