Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Fix to_python bug for integer choice fields [PD-2174] #1

Merged
merged 2 commits into from
Mar 11, 2016

Conversation

JLMcLaugh
Copy link

This looks like a bug in the original code. Choicefield forms have a special 'coerce' value that gets set to the to_python method. This isn't handled correctly in resolve_promise. Replacing it with the string 'to_python' fixes the issue.

WiserTogether#18

@JLMcLaugh JLMcLaugh closed this Mar 10, 2016
@JLMcLaugh JLMcLaugh reopened this Mar 10, 2016
lemniscate613 added a commit that referenced this pull request Mar 11, 2016
Fix to_python bug for integer choice fields [PD-2174]
@lemniscate613 lemniscate613 merged commit 6a29970 into master Mar 11, 2016
@tdphillips tdphillips deleted the int-choice-fix branch April 11, 2017 20:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants