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

Fixed forms with external instances #497

Merged
merged 2 commits into from
Oct 2, 2019

Conversation

grzesiek2010
Copy link
Member

Closes #496

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

I tested Remembering previously entered values and external secondary instances.

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

It was just a bug I fixed in this line: https://github.com/opendatakit/javarosa/compare/master...grzesiek2010:JAVAROSA-496?expand=1#diff-b60f702426880ccc5f1b079019104bd4R1819
using just formInstanceEntry we always get false because it's always HashMap$HashMapEntry
Screenshot from 2019-10-02 07-53-37

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?

Do we need any specific form for testing your changes? If so, please attach one.

A form that uses Remembering previously entered values like the one used for testing: getodk/collect#2882
or a form with external secondary instances like:
esi.zip

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

@ggalmazor ggalmazor self-requested a review October 2, 2019 11:28
Copy link
Contributor

@ggalmazor ggalmazor left a comment

Choose a reason for hiding this comment

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

LGTM!

@lognaturel
Copy link
Member

Yikes, GREAT catch!!

@lognaturel lognaturel merged commit 7e0c87f into getodk:master Oct 2, 2019
@lognaturel
Copy link
Member

@grzesiek2010, to be clear, since this PR is not a risk to existing behavior, we'll get @opendatakit/testers to take a pass at this once the snapshot is out.

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.

Forms using external xml files can't be started from cache
3 participants