-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6105 from grzesiek2010/COLLECT-6015
Fixed handling repeatable groups wrapped with regular ones
- Loading branch information
Showing
9 changed files
with
84 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
test-forms/src/main/resources/forms/repeat_group_wrapped_with_a_regular_group.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0"?> | ||
<h:html | ||
xmlns="http://www.w3.org/2002/xforms" | ||
xmlns:h="http://www.w3.org/1999/xhtml" | ||
xmlns:ev="http://www.w3.org/2001/xml-events" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
xmlns:jr="http://openrosa.org/javarosa" | ||
xmlns:orx="http://openrosa.org/xforms" | ||
xmlns:odk="http://www.opendatakit.org/xforms"> | ||
<h:head> | ||
<h:title>Repeat group wrapped with a regular group</h:title> | ||
<model odk:xforms-version="1.0.0"> | ||
<instance> | ||
<data id="groups_crash"> | ||
<outer> | ||
<inner jr:template=""> | ||
<name/> | ||
</inner> | ||
<inner> | ||
<name/> | ||
</inner> | ||
</outer> | ||
<meta> | ||
<instanceID/> | ||
</meta> | ||
</data> | ||
</instance> | ||
<bind nodeset="/data/outer/inner/name" type="string"/> | ||
<bind nodeset="/data/meta/instanceID" type="string" readonly="true()" jr:preload="uid"/> | ||
</model> | ||
</h:head> | ||
<h:body> | ||
<group ref="/data/outer"> | ||
<label>Outer</label> | ||
<group ref="/data/outer/inner"> | ||
<label>Inner</label> | ||
<repeat nodeset="/data/outer/inner"> | ||
<input ref="/data/outer/inner/name"> | ||
<label>Name</label> | ||
</input> | ||
</repeat> | ||
</group> | ||
</group> | ||
</h:body> | ||
</h:html> |