Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5544

Text filters are not applied to entry template in views aligned, tabular, grid and rss.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8.2
    • 2.8.2
    • Set: Dataform
    • None
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE

      In order to apply the text filter to the entry template and avoid conflicts with fields that apply the text filters to content, this needs to be done before any replacements.
      For this purpose we can add a method to each view type that has an entry template, which will format the content of the entry template if any, and store it in a property of the object class.
      The content needs to be stored for the length of the script because it is retrieved for for the definition of each entry.
      Since the entry template and its DB support are defined in the view type, the way to apply the text filter is also left to the view discretion. There is no interface or core dataformview API for that.
      Since templates are created by the instructor and we trust the instructor, the format options are set to trusted and noclean.

            itamart Itamar Tzadok (Inactive)
            itamart Itamar Tzadok (Inactive)
            Itamar Tzadok Itamar Tzadok (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.