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

hook_civicrm_volunteer_projectDefaultSettings is not invoked in all contexts concerning default settings

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Verified?:
      No

      Description

      Presently, the hook is invoked only when api.VolunteerUtil.getsupportingdata is called.

      Our uses for default settings have expanded since this hook was created – namely, the defaults are referenced not just when settings defaults in forms but also during project creation (i.e., at the API level as well as the form level). It would be more appropriate for the hook to live in CRM_Volunteer_BAO_Project::composeDefaultSettingsArray().

        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: