Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-2382

Approval notification does not populate NEW_COU into template

    XMLWordPrintable

Details

    Description

      sendApprovalNotification() method of CoPetition does not substitute (@NEW_COU) in a template with the name of the new COU for an enrollee.

      The problem is that the code is referencing the first CoPersonRole and its linked Cou returned by the petition query using contain, and the first one can be an existing Cou for the CoPerson.

      The code needs to reference the co_person_role_id that is part of the CoPetition object in order to find the correct CoPersonRole and hence the right Cou.

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            scott.koranda@at.internet2.edu Scott Koranda (uwm.edu/illinois.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: