kobotoolbox / koboform

A Java/GWT based formbuilder (no longer supported). Replaced by dkobo.
2 stars 8 forks source link

User can't change question labels in imported forms #126

Open tinok opened 10 years ago

tinok commented 10 years ago

When importing a form saved to XML (either through copy-paste or the Open from file dialog) all of the question itext references are not loaded into KoBoForm. This means that if a user changes a label the change is not saved to the actual itext translation when re-saving the form -- even though the change appears on the screen.

To reproduce:

  1. start a blank form
  2. export the form to XML (either copy-paste or Save to file)
  3. re-open the form (either copy-paste or Open from file)
  4. change the label of QuestionA01 to 'Where is the hospital?'
  5. export the form again to XML and check the itext value of A01

Expected: A01 shows 'Where is the hospital' Instead: A01 shows 'QuestionA01'