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

check co_id before calling sponsorList

    XMLWordPrintable

Details

    Description

      CoPeopleController contains in beforeFilter() this code:

      // generate list of sponsors
      $this->set('sponsors', $this->CoPerson->sponsorList($this->cur_co['Co']['id']));

      This needs to be moved to a beforeRender() method because in beforeFilter() it is being called too early to prevent a REST call from being checked to see if there is a co_id that could be put into the sponsorList() call.

      Attachments

        Activity

          People

            scott.koranda.3@at.internet2.edu Scott Koranda SCG (Inactive)
            marie Marie Huynh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: