-
-
Notifications
You must be signed in to change notification settings - Fork 194
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 syndication settings to not write on read #1147
Conversation
def __setattr__(self, name, value): | ||
if name in ('context', '_metadata', 'site_settings'): | ||
if name in ('context', '_metadata', 'site_settings', 'annotations', | ||
'needs_saving'): | ||
self.__dict__[name] = value | ||
else: | ||
self._metadata[name] = value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You missed just one part of the back-port. need to call self._set()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
d97fbe0
to
2078a7d
Compare
Running again: http://jenkins.plone.org/job/pull-request-4.3/126 |
2078a7d
to
e56026f
Compare
And finally tests passes http://jenkins.plone.org/job/pull-request-4.3/129 @vangheem should we merge it? |
fix syndication settings to not write on read
Backport CSRF fix to 4.3.x