Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Issue #799 Fix getting form name for form keys #803

Merged
merged 2 commits into from
Sep 10, 2019
Merged

Issue #799 Fix getting form name for form keys #803

merged 2 commits into from
Sep 10, 2019

Conversation

ggalmazor
Copy link
Contributor

Closes #799

What has been done to verify that this works as intended?

Added an automated regression test

Why is this the best possible solution? Were any other approaches considered?

This is not an optimal solution because it involves reparsing form definitions to get their names, but changing the underlying JavaRosaParserWrapper is much riskier because more code depends on that.

Also, this change will become irrelevant once we have v2.0, so it feels like we wont' be running into much problems anyway.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

There should be no changes in behavior due to this change.

Does this change require updates to documentation? If so, please file an issue at https://github.com/opendatakit/docs/issues/new and include the link below.

Nope.

@ggalmazor ggalmazor added this to the v1.17.0 milestone Sep 6, 2019
@kkrawczyk123
Copy link
Contributor

Tested with success!
Verified on Ubuntu, MacOS and Windows.

@opendatakit-bot unlabel "needs testing"
@opendatakit-bot label "behavior verified"

@dcbriccetti
Copy link
Contributor

Looking now

<h:title>this-title-has-dashes</h:title>
<model>
<instance>
<data id="this-id-has-dashes">
Copy link
Contributor

@dcbriccetti dcbriccetti Sep 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s make the world a better place by not saying dash when we mean hyphen.

hyphen: -
en dash: –
em dash: —
your character: -. Yup, it’s a hyphen. :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL that dashes are not hyphens :D

@ggalmazor ggalmazor merged commit 31b9a31 into getodk:master Sep 10, 2019
@ggalmazor ggalmazor deleted the issue_799_fix_form_name_in_form_keys branch September 10, 2019 07:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exporting form with repeat groups freezes Briefcase
4 participants