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

Block options and text format are sharing the same db field in Resource-Text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.8
    • Component/s: Resource
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      Both blocks setting and format of text are sharing the same databse field options in resource table. The problem is that when blocks are used, showblocks value overrides moodle format and the text is then treated as MOODLE_FORMAT

      solution:

      1/ remove format of text from Resource-Text, markdown is not used much so I guess it should not be a problem.

      2/ use comma separated array to store both values in options

      Waiting for response from MartinD...

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Tester:
              Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Mar/07