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

Traceback when submitting duplicate when Duplicate Variation is not set #769

Merged
merged 2 commits into from
Apr 20, 2018

Conversation

xispa
Copy link
Member

@xispa xispa commented Apr 13, 2018

Description of the issue/feature this PR addresses

Traceback when submitting duplicate when Duplicate Variation is not set.
With this Pull Request, default value 0.0 is assigned for Duplicate Variation field. Also, an upgrade step that updates all non-floatable Duplicate Variation values for both Analysis Services and Analyses

Linked issue: #768

Current behavior before PR

When creating Analysis Service, no default value is set for field "DuplicateVariation". This causes a traceback later, when submitting results for corresponding duplicate analyses.

Desired behavior after PR is merged

Not traceback appear when submitting duplicates and Analysis Services have default value for "Duplicate Variation" field set to 0.0 after creation.

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@ramonski ramonski merged commit bfe7434 into master Apr 20, 2018
@xispa xispa deleted the i768 branch April 23, 2018 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants