Fixed forms with external instances #497
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
![Screenshot from 2019-10-02 07-53-37](https://user-images.githubusercontent.com/3276264/66034365-685e7d00-e509-11e9-8f45-26acc6968d3d.png)
using just
formInstanceEntry
we always get false because it's alwaysHashMap$HashMapEntry
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.