CRM-2174 All possible states and provinces shown when registering online for an event

    Details

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

      Description

          • This bug is triggered by is_monetary being set to 0. If I modify the Event Fee configuration for Matt's test event (id = 16) to make it a Paid Event, the State selector has the correct options. If I change it back to Paid Event = No, then ALL state_province values are loaded into the select. dgg ***

      In "Global Settings", with "Contact Address Fields - Selection Values" set so that "Default Country", "Available Countries", and "Available States and Provinces" are all set to "United States", all 3780 possible states and provinces are shown when using online registration for an event linked to a profile which includes the state/province field. (However, the correct list of states is presented when registering for a new Drupal account using the same profile.)

      This worked correctly in 1.7.10272, but is broken in 1.8.beta.10676.

      Reproduced on the demo server: https://demo.civicrm.org/drupal/civicrm/event/register?id=16&reset=1

        Attachments

          Activity

          [CRM-2174] All possible states and provinces shown when registering online for an event
          Kurund Jalmi added a comment -
          • fixed in rev 10808
          Manish Zope added a comment -

          Verify for 2.0

            People

            • Assignee:
              Sunil Pawar
              Reporter:
              Matt Corks

              Dates

              • Created:
                Updated:
                Resolved: