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

beforeRender() condition in app_controller.php stops CakeError instances

    XMLWordPrintable

Details

    Description

      In app_controller.php in the beforeRender() we have this:

      if($req != 'Page') // Page doesn't have an actual model
      $model = $this->$req;

      It should instead be

      if($req != 'Page' and $req != 'CakeError') // Page doesn't have an actual model
      $model = $this->$req;

      so that instances of CakeError can "get through".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: