Uploaded image for project: 'CiviVolunteer'
  1. CiviVolunteer
  2. VOL-208

Better handling when instance has no available countries

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.1.0
    • Labels:
    • Documentation Required?:
      None

      Description

      This bug manifested when testing in a 4.7 environment. Unlike the 4.6 build, the 4.7 build does not provide a default value for the Available Countries setting (/civicrm/admin/setting/localization). CiviVolunteer was expecting at least one country in the list. As a result of not getting that, both the New Project and the Volunteer Opportunity Search pages died; Angular would fail silently. In the browser this looks like the site chrome with no content.

      Running VolunteerUtil.getcountries from the API explorer shows:

      {
          "is_error": 1,
          "error_message": "invalid criteria for IN"
      }
      

        Attachments

          Activity

            People

            • Assignee:
              pittstains Frank J. Gómez
              Reporter:
              pittstains Frank J. Gómez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: