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

Deleting a project doesn't remove associated information from civicrm_uf_join table

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Labels:
      None
    • Versioning Impact:
      Minor (add functionality in backwards-compatible manner)
    • Documentation Required?:
      None
    • Verified?:
      No

      Description

      To duplicate, create a CiviVolunteer project with a profile used for Volunteer Registration. Check that the project was created in the database, and that the associated entry in civicrm_uf_join was also created. I did this using the query:

      SELECT civicrm_volunteer_project.id AS project_id, civicrm_volunteer_project.title AS project_title, civicrm_uf_join.id AS uf_join_id, civicrm_uf_join.entity_id AS uf_join_project_id, civicrm_uf_join.uf_group_id AS uf_join_profile
       FROM civicrm_uf_join
       LEFT JOIN civicrm_volunteer_project ON civicrm_uf_join.entity_id = civicrm_volunteer_project.id
       WHERE civicrm_uf_join.entity_id = ###;
      

      Next, go back to the GUI and search for your test project in Manage Volunteer Projects. Select it by clicking the checkbox to the left of the project, then delete it using the Bulk Actions dropdown and clicking Run. Once the project is removed, go back and re-run that query and you'll see that the entry in the civicrm_uf_join table was not removed.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: