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

Recurring Events without Price Set fail to save

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.29, 4.7.30, 4.7.31
    • Fix Version/s: 5.1
    • Component/s: CiviEvent
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      Yes

      Description

      The fix for updating priceSet for repeated events introduced a problem when the priceset is not used and therefore not set (empty string).

      https://github.com/civicrm/civicrm-core/commit/a1bfea17587a462072f3dcfb37888afce7f93fc8#diff-bf81190cf90964626ddc54fee5293bc4

      in this case the if clause in CRM/Core/Page/AJAX/RecurringEntity.php fails an returns an empty array, causing the save action to fail without any errors or notices.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              baerm Matthias Bärnthaler
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: