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

Update entities features for new spec #697

Merged
merged 2 commits into from
Nov 16, 2022
Merged

Conversation

seadowg
Copy link
Member

@seadowg seadowg commented Nov 11, 2022

Changes needed for JavaRosa to comply with getodk/xforms-spec#299

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

Updated tests

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

Just a few small tweaks to make sure entity forms work correctly. Not really much to discuss!

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?

Pretty low risk as only a couple of things had to change. Best thing to double-check is that my updated test example forms actually match the new spec.

@seadowg seadowg marked this pull request as ready for review November 11, 2022 11:34
Copy link
Member

@lognaturel lognaturel left a comment

Choose a reason for hiding this comment

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

The test with a dynamic create expression wasn't setting the value of /data/join correctly. Since it was only checking for the no creation case which was satisfied with no change in /data/join, it kind of was testing what it was supposed to. I think it's helpful to have both the create and non-create case for that test so I went ahead and added that.

@lognaturel lognaturel merged commit 1b7684e into getodk:master Nov 16, 2022
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.

None yet

2 participants