Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8586

Form Rule Validation fails on editing Additional Participants

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4
    • Fix Version/s: 3.4.6
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      Form Rule Validation fails on reloading the page and saving without selecting any price set
      Steps to replicate :
      1. Create a price set for event with 2 fields 1st as a select field and 2nd as a text box.
      2. Include this price set into an event with option to create additional participants.
      3. Register for this event, while registering for additional participants do not select option for select field. Just enter value in text field and complete the registration process.
      4. Now edit participant details for any of the additional participants. Do not select option from select field and submit the form. You get a form rule on submitting (which is correct).
      5. Now just hit the url in the address bar as it is without making any other changes and then save the form. It gets saved without any error.

      The form rule validation fails here. The form should not be saved if a price set is not selected.

      Now just edit the price set and mark it as required. Edit the details for any of the additional participants.
      There should be * for the price set as it is required but it is not displayed.
      Now just hit the url in the address bar and the * is visible.

        Attachments

          Activity

            People

            • Assignee:
              rohan Rohan S. Chavan
              Reporter:
              webaccess Web Access
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: