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 syndication settings to not write on read #1147

Merged
merged 1 commit into from
Oct 14, 2015

Conversation

gforcada
Copy link
Member

@gforcada gforcada commented Oct 9, 2015

Backport CSRF fix to 4.3.x

@gforcada
Copy link
Member Author

gforcada commented Oct 9, 2015

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
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@gforcada
Copy link
Member Author

@gforcada
Copy link
Member Author

And finally tests passes http://jenkins.plone.org/job/pull-request-4.3/129

@vangheem should we merge it?

vangheem added a commit that referenced this pull request Oct 14, 2015
fix syndication settings to not write on read
@vangheem vangheem merged commit 9dcab4b into plone:4.3.x Oct 14, 2015
@gforcada gforcada deleted the write-on-read branch October 14, 2015 19:01
@gforcada gforcada restored the write-on-read branch October 20, 2015 14:28
@gforcada gforcada deleted the write-on-read branch March 5, 2016 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants