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

Error when adding glossary entry and duplicates not allowed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Glossary
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      Switch debugging on (not sure if this step is necessary)
      Create a new glossary
      Set duplicates to 'not allowed'
      Add an entry

      Error message: Field "LOWER(concept)" does not exist in table "glossary_entries"
      Stack trace:
      line 508 of /lib/dml/moodle_database.php: dml_exception thrown
      line 1207 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
      line 124 of /mod/glossary/edit_form.php: call to moodle_database->get_record()
      line 438 of /lib/formslib.php: call to mod_glossary_entry_form->validation()
      line 397 of /lib/formslib.php: call to moodleform->validate_defined_fields()
      line 484 of /lib/formslib.php: call to moodleform->is_validated()
      line 88 of /mod/glossary/edit.php: call to moodleform->get_data()

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              davosmith Davo Smith created issue -
              stronk7 Eloy Lafuente (stronk7) made changes -
              Field Original Value New Value
              Status Open [ 1 ] Resolved [ 5 ]
              Fix Version/s 2.0.1 [ 10420 ]
              Resolution Duplicate [ 3 ]
              stronk7 Eloy Lafuente (stronk7) made changes -
              Description Switch debugging on (not sure if this step is necessary)
              Create a new glossary
              Set duplicates to 'not allowed'
              Add an entry

              Error message: Field "LOWER(concept)" does not exist in table "glossary_entries"
              Stack trace:
              line 508 of /lib/dml/moodle_database.php: dml_exception thrown
              line 1207 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
              line 124 of /mod/glossary/edit_form.php: call to moodle_database->get_record()
              line 438 of /lib/formslib.php: call to mod_glossary_entry_form->validation()
              line 397 of /lib/formslib.php: call to moodleform->validate_defined_fields()
              line 484 of /lib/formslib.php: call to moodleform->is_validated()
              line 88 of /mod/glossary/edit.php: call to moodleform->get_data()
              Switch debugging on (not sure if this step is necessary)
              Create a new glossary
              Set duplicates to 'not allowed'
              Add an entry

              Error message: Field "LOWER(concept)" does not exist in table "glossary_entries"
              Stack trace:
              line 508 of /lib/dml/moodle_database.php: dml_exception thrown
              line 1207 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
              line 124 of /mod/glossary/edit_form.php: call to moodle_database->get_record()
              line 438 of /lib/formslib.php: call to mod_glossary_entry_form->validation()
              line 397 of /lib/formslib.php: call to moodleform->validate_defined_fields()
              line 484 of /lib/formslib.php: call to moodleform->is_validated()
              line 88 of /mod/glossary/edit.php: call to moodleform->get_data()
              stronk7 Eloy Lafuente (stronk7) made changes -
              Link This issue duplicates MDL-25418 [ MDL-25418 ]
              dougiamas Martin Dougiamas made changes -
              Status Resolved [ 5 ] Closed [ 6 ]
              QA Assignee nobody
              dougiamas Martin Dougiamas made changes -
              Workflow jira [ 40719 ] MDL Workflow [ 66334 ]
              dougiamas Martin Dougiamas made changes -
              Fix Version/s 2.0.1 [ 10420 ]
              dougiamas Martin Dougiamas made changes -
              Workflow MDL Workflow [ 66334 ] MDL Full Workflow [ 95739 ]

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: