Matching nodes bug
@mitchellsundt is already working on this.
Since Feb 1, 2017.
Assessment
This issue has not been assessed yet.
Description
Issue by mitchellsundt
Thursday Jul 09, 2015 at 19:03 GMT
Originally opened as https://github.com/opendatakit/opendatakit/issues/692 (0 comment(s))
Originally reported on Google Code with ID 691
If you have instance like so..
<instance>
<data id="no_matching_modes">
<Interviewer/>
<District/>
<Cluster/>
</data>
</instance>
And some binds like so...
<bind nodeset="/cluster/Date" required="true()" type="date"/>
<bind nodeset="/cluster/Interviewer" required="true()" type="string"/>
<bind nodeset="/cluster/District" required="true()" type="string"/>
Currently, Validate (or Collect) do not throw up any errors. It is only at runtime
that you know something is wrong -- Collect crashes.
See the problem? There is no /cluster in the instance, only /data. The binds are referring
to nodes that don't exist. I believe earlier versions of Validate caught this matching
nodes problem.
Reported by [email protected] on 2012-09-26 17:07:31
- _Attachment: [Matching nodes bug.xml](https://storage.googleapis.com/google-code-attachments/opendatakit/issue-691/comment-0/Matching nodes bug.xml)_
- Dominant language
- Java
- Stars
- 14
- Forks
- 32
- Avg merge
- 14h 15m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getodk/validate
-
Document java version requirement / upgrade gradle / allow modern JDKs / containerise buildPossibly taken @alxndrsn claimed this 18 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Accept bytes from stdin as alternative to reading file from diskPossibly taken @alxndrsn claimed this 18 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
NumberFormatException when using pulldata with geotrace/geoshapePossibly taken @alxndrsn claimed this 18 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
RegistryExceptionHandler uses self-referencing basePackageClasses instead of a controller classOpenbug finsim-registry good-first-issue
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
status:pending type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug level:trivial
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
exoego/keycloak-fuhito#666 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
hammy275/immersive-mc#669 ·