Doctrine 1
  1. Doctrine 1
  2. DC-546

[PATCH] Missing $this->_table in Doctrine_Search when Index table not generated on the fly, throws Doctrine_Search_Exception' with message 'Invalid argument type. Expected instance of Doctrine_Table

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.2.2
    • Component/s: Searchable
    • Labels:
      None

      Description

      See http://trac.doctrine-project.org/ticket/896.
      Its closed as invalid, but 1.2.1 (stable) throws 'Doctrine_Search_Exception' with message 'Invalid argument type. Expected instance of Doctrine_Table.' if the searchable behavior's index table is not generated on-the-fly, because Doctrine_Search::buildTable() never gets invoked.

      It's possible to workaround it by deleting generated classes.

      Patch attached.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            dudu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: