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

Filters dont work in database module

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Create a database activity with one of each type of field

      Create a glossary

      Enable Glossary auto-linking filter

      Add a glossary with an entry of glossaryentry

      Edit the database view single template and put the word glossaryentry into it

      Create a database record with the word glossaryentry in a text and textarea field

      The word glossaryentry should be auto linked where it appears in the template (by this patch) and the textarea field (pre-existing) but NOT in the text field (since this patch does not alter the contents of fields.

       

       

      Create a field called glossaryentry

      Enable developer debugging

      View the record

      You should see a warning that there has been a collision between a tag and a filter

      Show
      Create a database activity with one of each type of field Create a glossary Enable Glossary auto-linking filter Add a glossary with an entry of glossaryentry Edit the database view single template and put the word glossaryentry into it Create a database record with the word glossaryentry in a text and textarea field The word glossaryentry should be auto linked where it appears in the template (by this patch) and the textarea field (pre-existing) but NOT in the text field (since this patch does not alter the contents of fields.     Create a field called glossaryentry Enable developer debugging View the record You should see a warning that there has been a collision between a tag and a filter
    • Affected Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:

      Description

      None of filters for Moodle (e.g. Jmol) work with the database module (from Moodle 1.8 upwards, including 2+ and 3+ versions). 
      E.g.: if you place multimedia file into database field (with type File), there is no player showed as obvious in HTML page activity, only file name with link. https://tracker.moodle.org/browse/MDL-12770

      Similar issue was reported for different filters (MDL-10851). Reopened as new issue from https://tracker.moodle.org/browse/MDL-12770. This deals with database module function, solving this will be huge improvement in functionality. It is better discuss functionality and reasons for not to work on this than neglect it as old issue.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: