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

'TableRegistry' not found error in Sequence.php

    XMLWordPrintable

Details

    Description

      The explicit path to the TableRegistry class is not specified in Line 44 of /app/src/lib/sequence.php. On my systems, the class was not found when a new identifier was to be generated for the sequence.

      Modified Line 44 

      $MatchgridSettings = TableRegistry::get('MatchgridSettings');

      +$MatchgridSettings = \Cake\ORM\TableRegistry::get('MatchgridSettings');

      Note: I tried adding a 'use Cake\ORM\TableRegistry;' before the namespace declaration, but that did not fix the behavior. Not sure why it did not work for me.

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            ross.wilper@at.internet2.edu Ross Wilper (stanford.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: