Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-12578

Undefined constant SEARCH_TYPE_LESSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.3
    • Fix Version/s: 1.9.5, 2.0
    • Component/s: Lesson, Other
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Running the index tester and found that SEARCH_TYPE_LESSON is not defined. This then breaks the search results when any lesson documents are in the result set.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            vf Valery Fremaux added a comment -

            Commited fix in MOODLE_18_STABLE and HEAD

            I have a lack of Karma in MOODLE_19_STABLE on that dir (/moodle/search) (?!?) Could Mark or someone else do something for it ?

            Show
            vf Valery Fremaux added a comment - Commited fix in MOODLE_18_STABLE and HEAD I have a lack of Karma in MOODLE_19_STABLE on that dir (/moodle/search) (?!?) Could Mark or someone else do something for it ?
            Hide
            bushido Mark Nielsen added a comment -

            Added both Martin D and Petr as watchers.

            I don't think I have access to anything other than the lesson module, so Martin, Petr, etc will have to make the change for you or give you access. Cheers!

            Show
            bushido Mark Nielsen added a comment - Added both Martin D and Petr as watchers. I don't think I have access to anything other than the lesson module, so Martin, Petr, etc will have to make the change for you or give you access. Cheers!
            Hide
            bushido Mark Nielsen added a comment -

            Added Yu as well to the watchers list.

            Show
            bushido Mark Nielsen added a comment - Added Yu as well to the watchers list.
            Hide
            vf Valery Fremaux added a comment -

            Resolved on > 1.9 (non experimental) versions

            Show
            vf Valery Fremaux added a comment - Resolved on > 1.9 (non experimental) versions
            Hide
            timhunt Tim Hunt added a comment -

            Just to note there was a commit on the stable branch, but it did not mention this issue id.
            http://cvs.moodle.org/moodle/search/lib.php?r1=1.13&r2=1.13.2.1

            However, Jerome was testing this, and Lessons did not seem to be getting indexed.

            Show
            timhunt Tim Hunt added a comment - Just to note there was a commit on the stable branch, but it did not mention this issue id. http://cvs.moodle.org/moodle/search/lib.php?r1=1.13&r2=1.13.2.1 However, Jerome was testing this, and Lessons did not seem to be getting indexed.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/May/09