Skip to content

Fix documents being mutated while computing etag with ignore_fields settings - #1266

Closed
sunbit wants to merge 1 commit into
pyeve:masterfrom
sunbit:master
Closed

Fix documents being mutated while computing etag with ignore_fields settings#1266
sunbit wants to merge 1 commit into
pyeve:masterfrom
sunbit:master

Conversation

@sunbit

@sunbit sunbit commented May 15, 2019

Copy link
Copy Markdown
Contributor

As copy was used instead of deepcopy, if the ignore_fields setting contains a field that's nested inside others, the function mutated the original while discarding fields to compute the etag as asked.

@sunbit

sunbit commented May 15, 2019

Copy link
Copy Markdown
Contributor Author

The travis checks are failing due to this issue already reported here:

#1267

nicolaiarocci added a commit that referenced this pull request May 16, 2019
@nicolaiarocci nicolaiarocci modified the milestones: 1.3.2, 0.9.1 May 16, 2019
@nicolaiarocci

Copy link
Copy Markdown
Member

rebased and merged. thanks.

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.

2 participants