Uploaded image for project: 'Magnolia Demo Projects'
  1. Magnolia Demo Projects
  2. MGNLDEMO-178

Multistep form condition fails due to case sensitivity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • 0.13
    • magnolia-travels
    • None

      The book-a-tour multistep form in the travel demo fails. It does not direct the visitor to the correct next step. The condition that checks if the visitor has a special meal requirement should skip the meal choice step when the visitor says "No". But we always asks for a meal preference.

      To reproduce: book a tour, say "No" to special meal requirements, and click next.

      The error happens in the next step condition. Possible values to the meal question are lower-case "yes" or "no" but the condition checks for a mixed-case "No" which never matches.

      An easy fix would be to the change the bootstrapped condition value from "No" to "no" in website.travel.xml. But I'm not sure if this ever worked. Did the evaluation of form conditions change from case insensitive to case sensitive at some point? Please verify.

        Acceptance criteria

              Unassigned Unassigned
              ahietala Antti Hietala
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD