CiviCRM
  1. CiviCRM
  2. CRM-5224

UK 'State/province' list contains mixture of counties and large towns

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      The UK 'State/province' list currently contains mixture of counties and large towns. It should contain the UK counties only. There is a separate, free-text field to capture the town/city (billing_city)

      For example, all of the following are Cities and should not be included:
      Birmingham
      Bristol
      Poole

      The list of uk counties listed at http://blog.acmultimedia.co.uk/2007/09/list-of-uk-counties-in-sql-csv-format/ seems to be accurate, but also needs to include the 6 Northern Ireland counties as listed at http://en.wikipedia.org/wiki/Counties_of_Northern_Ireland
      1. state.sql
        4 kB
        Tom Kirkpatrick
      2. state.sql
        4 kB
        Tom Kirkpatrick

        Activity

        Hide
        Piotr Szotkowski added a comment -
        Argh, it turns out it *wasn't* there in 3.1 and 3.2, but it *was* there in 3.0 (and earlier releases). I re-fixed that in r28202, bringing it back with the old civicrm_state_province.id (2712) and doing an INSERT IGNORE on upgrades.
        Show
        Piotr Szotkowski added a comment - Argh, it turns out it *wasn't* there in 3.1 and 3.2, but it *was* there in 3.0 (and earlier releases). I re-fixed that in r28202, bringing it back with the old civicrm_state_province.id (2712) and doing an INSERT IGNORE on upgrades.
        Hide
        Donald A. Lobo added a comment -

        i see lincolnshire already there in a 3.1 db and hence my upgrade to 3.2 fails. here are the values

        (2712,'Lincolnshire','LIN',1226)
        Show
        Donald A. Lobo added a comment - i see lincolnshire already there in a 3.1 db and hence my upgrade to 3.2 fails. here are the values (2712,'Lincolnshire','LIN',1226)
        Hide
        Piotr Szotkowski added a comment -
        (Re-)fixed in r28145.
        Show
        Piotr Szotkowski added a comment - (Re-)fixed in r28145.
        Hide
        Piotr Szotkowski added a comment -
        Reopening to add Lincolnshire.
        Show
        Piotr Szotkowski added a comment - Reopening to add Lincolnshire.
        Hide
        Dave Jenkins added a comment -
        Lincolnshire is missing from civicrm_data*.mysql and civicrm_generated.mysql .
        Show
        Dave Jenkins added a comment - Lincolnshire is missing from civicrm_data*.mysql and civicrm_generated.mysql .

          People

          • Assignee:
            Piotr Szotkowski
            Reporter:
            Tom Kirkpatrick
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development