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

Old revision of record with serialized attribute not correctly reconstructed #191

Closed
k1w1 opened this issue Oct 14, 2014 · 0 comments
Closed

Comments

@k1w1
Copy link

k1w1 commented Oct 14, 2014

If an audited record has a serialize attribute that contains an array, then when creating an old revision of the record (using audit.revision), only one of the array elements is returned.

The problem is that new_attributes and old_attributes don't handle the case where an attribute may itself be an array.

bhsdrew added a commit to kidspassport/audited that referenced this issue Aug 1, 2017
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

No branches or pull requests

2 participants