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

Add missing save() call at the end of open() #8

Merged
merged 1 commit into from Jan 20, 2017

Conversation

spaceone
Copy link
Contributor

If changes in self.info are done, self.save() writes them into
self.oldinfo.
When modifying/creating the object self.oldinfo and self.info are
compared and the changes are written to LDAP. As there no save() call is
done the change can't be detected.

Probably open() (and therefore save()) was called mutliple times, so that this never occurred as bug
and this change is not a regression.

open() was e.g. called in openSuperordinate.

If changes in self.info are done, self.save() writes them into
self.oldinfo.
When modifying/creating the object self.oldinfo and self.info are
compared and the changes are written to LDAP. As there no save() call is
done the change can't be detected.

Probably open() (and therefore save()) was called mutliple times, so that this never occurred as bug
and this change is not a regression.

open() was e.g. called in openSuperordinate.
@britter-decoit britter-decoit merged commit 8971d0f into decoit:ucs4.1 Jan 20, 2017
@spaceone spaceone deleted the missing_save branch January 20, 2017 14:35
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

2 participants