Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Force Close with "Group" type question #3

Closed
mspohr opened this issue Mar 11, 2011 · 3 comments
Closed

Force Close with "Group" type question #3

mspohr opened this issue Mar 11, 2011 · 3 comments

Comments

@mspohr
Copy link

mspohr commented Mar 11, 2011

I had a form created with build which had a "Group" type field. This would cause a "Force Close" crash on the phone before opening this question. I removed this Group question and the form runs fine.
The problematic field is "UsualMeds"

<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">
<h:head>
<h:title>Asthma1/h:title

















Name


First and Last Name


ID Number





Normal Peak Flow


Peak Flow when not having problems


Current Peak Flow


Peak Flow at this time


Photo


Take a photo


Symptoms


Tick symptoms now


Cough


Wheeze


Chest Tightness


Short of Breath


Cannot do usual activities


Usual Medications


Quick Relief Medication


Short acting beta2 agonist











/h:head
<h:body>




















cough wheeze chest-tight sob nousualactivity







/h:body
/h:html

@issa-tseng
Copy link
Member

@yanokwa am i correct in figuring that this is caused by the group not having any inputs of consequence?

@yanokwa
Copy link
Member

yanokwa commented Nov 1, 2016

@clint-tseng I would guess that this form would crash because it's an empty group. But I just tested it on Collect 1.4.10 and it doesn't crash. My guess is that JavaRosa's parsing got more permissive.

@issa-tseng
Copy link
Member

Cool. I'm gonna close this out then, pending other reports.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants