Bug report : XPath evaluation error crashes CommCare ODK prompt menu

Hi guys,

I made a mistake while implementing my forms that displays this error

“XPath evaluation: type mismatch
Location /anc/high_risk_pregnancy was not found”

when I’m accessing the specific page that uses this expression. It is okay,
it’s my fault, I’ll fix that.

However, when I touch “Go To Prompt” option, the application crashes
instantly.

After fixing my form the application doesn’t crash anymore.

The original expression was :

Summary

in the “label” option of a “Label” question.

CommCare ODK, version “2.12”(30701). App v73. Built on May-07-2014.
Android : 4.0.4

Charles Flèche - TSFI.vcf (286 Bytes)

··· -- Charles Flèche mHealth advisor Télécoms Sans Frontières http://www.tsfi.org Première Urgence - Aide Médicale Internationale http://www.pu-ami.org +95 9 431 978 25 Skype: charles.fleche

Charles,

Thank you for reporting this bug. We’ve added it to the development
pipeline and will try to get a fix into our next release. Please let me
know if there’s any other outstanding issues.

Best,
Will

··· On Monday, May 19, 2014 10:32:04 PM UTC-4, Charles Flèche wrote: > > Hi guys, > > I made a mistake while implementing my forms that displays this error > > "XPath evaluation: type mismatch > Location /anc/high_risk_pregnancy was not found" > > when I'm accessing the specific page that uses this expression. It is > okay, > it's my fault, I'll fix that. > > However, when I touch "Go To Prompt" option, the application crashes > instantly. > > After fixing my form the application doesn't crash anymore. > > The original expression was : > > Summary > > > in the "label" option of a "Label" question. > > CommCare ODK, version "2.12"(30701). App v73. Built on May-07-2014. > Android : 4.0.4 > > > -- > Charles Flèche > mHealth advisor > Télécoms Sans Frontières http://www.tsfi.org > Première Urgence - Aide Médicale Internationale http://www.pu-ami.org > +95 9 431 978 25 > Skype: charles.fleche >