Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Matching nodes bug

Aperta
#10 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@mitchellsundt ci sta già lavorando.

Dal 1/2/2017.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

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)_
Lingua principale
Java
Stelle
14
Fork
30
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getodk/validate

Tutte le issue di getodk/validate

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.