Moodle

mod lesson files that were incorrectly placed in moddata are mot migrated to 2.0 legacy files, mediafile handling is not BC compatible

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Lesson
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

The problem is that it is not allowed to put images linked from HTML text into moddata - this completely breaks backup/restore and upgrade to 2.0 can not work too.

Workaround is to move the files into legacy course files during 2.0 upgrade.

Activity

Hide
Petr Škoda (skodak) added a comment -

Hmm, I just realised the mediafile handling in 2.0 is incorrect, rewriting most of the code there...

Show
Petr Škoda (skodak) added a comment - Hmm, I just realised the mediafile handling in 2.0 is incorrect, rewriting most of the code there...
Hide
Petr Škoda (skodak) added a comment -

Workaround committed into CVS, it is far from perfect, I personally think we should drop mediafiles from lesson completely and instead implement it as a separate block suitable for all other activities.

Please note you can not add URL media files anymore in 2.0 UI.

Show
Petr Škoda (skodak) added a comment - Workaround committed into CVS, it is far from perfect, I personally think we should drop mediafiles from lesson completely and instead implement it as a separate block suitable for all other activities. Please note you can not add URL media files anymore in 2.0 UI.
Hide
Eloy Lafuente (stronk7) added a comment -

FYI, just applied one little fix that prevents fatal error happening here. Ciao

Show
Eloy Lafuente (stronk7) added a comment - FYI, just applied one little fix that prevents fatal error happening here. Ciao

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: