CRM-2267 New Event Registration for a contact does not account for PriceSets ...

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.8
    • Fix Version/s: 2.1
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      1. Create New Event seems quite broken with regard to price sets (and the code in general needs to be cleaned up and fixed)

      2. Calls buildAmount from registration process. This is not a static function so works because PHP is quite forgiving. We need to make buildAmount static

      3. The postProcess needs to be changed to account for priceSet if that was set. also a formRule might need to be introduced.

        Attachments

          Activity

          [CRM-2267] New Event Registration for a contact does not account for PriceSets ...
          Manish Zope added a comment -

          fixed
          changes committed to trunk

          Manish Zope added a comment -

          Verify for 2.0

          Donald A. Lobo added a comment -

          had a few bugs

          Donald A. Lobo added a comment -

          1. Selector columns were not matching in price set case

          2. a common function used by wizard and admin page, was using '$this' instead of static and having the form object being sent it

          Piotr Szotkowski added a comment -

          Verified for 2.2 as of r18973.

            People

            • Assignee:
              Piotr Szotkowski
              Reporter:
              Donald A. Lobo

              Dates

              • Created:
                Updated:
                Resolved: