kobotoolbox / koboform

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

Circular Dependency in Skip Logic #23

Closed Dylan-Gillespie closed 11 years ago

Dylan-Gillespie commented 11 years ago

From neil.hen...@kobotoolbox.org on May 08, 2012 13:47:06

What steps will reproduce the problem? 1.Create a form in KFB, add questions.

  1. In the Skip Logic for a question, you can refer to the question you are on. 3.This question is relevent IF i answer A to THIS question
  2. Like: 5: Load this form into KoBoCollect, it will crash the form. What is the expected output? What do you see instead? In Validator: you will get this error message "XPath Dependency Cycle: /data/A01 => /data/A01 Dependency cycles amongst the xpath expressions in relevant/calculate"

In KoBoCollect, the form will crash on load with the error message "Dependency cycles amongst the xpath expressions in relevant/calculate"

Original issue: http://code.google.com/p/kobo/issues/detail?id=23

Dylan-Gillespie commented 11 years ago

From neil.hen...@kobotoolbox.org on May 08, 2012 12:47:40

[3:13:00 PM] john.etherton: yeah, self references would cause cycles.

Dylan-Gillespie commented 11 years ago

From neil.hen...@kobotoolbox.org on June 13, 2012 14:10:52

Change the way Skip logic is presented to the user:

In the advanced properties for a question, Skip logic copy starts as

is not skipped over when any of the following apply: <> [insert text of this question]is equal to:

instead,

is not skipped over when any of the following apply: <> [type the text of the question. Text will auto-complete.]is equal to:

Dylan-Gillespie commented 11 years ago

From neil.hen...@kobotoolbox.org on June 13, 2012 15:31:45

By default, cursor should appear in relevant question text box, possibly with a prompt text like "type the text of the question. Text will auto-complete"

Dylan-Gillespie commented 11 years ago

From john.eth...@gmail.com on August 10, 2012 13:02:09

This issue was closed by revision c26514920b7a .

Status: Fixed

Dylan-Gillespie commented 11 years ago

From j...@ethertontech.com on August 10, 2012 13:33:29

Users can no longer select the question they're on as the question to test for skip logic.