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

Clarify duplicate choice error message #418

Merged
merged 2 commits into from
Jan 31, 2020
Merged

Conversation

lognaturel
Copy link
Contributor

@lognaturel lognaturel commented Jan 31, 2020

Closes #373

Introduces a clearer message for duplicate choices in the same list, linking out to documentation provided at XLSForm/xlsform.github.io#184.

For some reason, the case where no allow_choice_duplicates setting was defined was previously less informative than the case where the setting existed but was not set to yes. These now show the same message.

@codecov-io
Copy link

codecov-io commented Jan 31, 2020

Codecov Report

Merging #418 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #418      +/-   ##
==========================================
- Coverage   82.58%   82.57%   -0.02%     
==========================================
  Files          23       23              
  Lines        3377     3374       -3     
  Branches      783      783              
==========================================
- Hits         2789     2786       -3     
  Misses        442      442              
  Partials      146      146
Impacted Files Coverage Δ
pyxform/xls2json.py 77.89% <100%> (-0.11%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8fb7934...26dde72. Read the comment docs.

@WinnyTroy
Copy link
Member

Looks good to me!

WinnyTroy
WinnyTroy previously approved these changes Jan 31, 2020
@lognaturel
Copy link
Contributor Author

Thanks, @WinnyTroy!

@yanokwa yanokwa merged commit 98948be into XLSForm:master Jan 31, 2020
@lognaturel lognaturel deleted the issue-373 branch February 4, 2020 21:44
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.

Duplicate choice name message is confusing
4 participants