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

Serializing revisions of atcontent return the current object data for all versions #1335

Closed
pbauer opened this issue Feb 24, 2022 · 0 comments
Milestone

Comments

@pbauer
Copy link
Member

pbauer commented Feb 24, 2022

While working on collective/collective.exportimport#107 I realize that exprting AT content revisions returns the data of the current object for all versions.

The reason is simple. in atcontent self.context is used instead of obj to get the seriallizer:

serializer = queryMultiAdapter(
    (field, self.context, self.request), IFieldSerializer
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant