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

DragMath GPL issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.2, 2.6, 2.7
    • Fix Version/s: 2.8
    • Component/s: Licensing
    • Testing Instructions:
      Hide
      Test 1
      Before you do the upgrade.
      1. Visit the TinyMCE settings by visiting 'Site administration' -> 'Plugins' -> 'Text editors' -> 'TinyMCE HTML editor' -> 'General settings'.
      2. For the setting 'Editor toolbar' add 'dragmath' to a few places.
      Upgrade your site.
      1. You should see 'To be deleted' next to the DragMath TinyMCE plugin.
      2. Visit the plugin overview page and verify the DragMath plugin is not listed any more.
      3. Visit the TinyMCE settings page again and check that there is no occurrence of 'dragmath' in the 'Edit toolbar' setting.
      Test 2
      Before you do the upgrade.
      1. Visit the TinyMCE settings and then click on 'Settings' next to 'dragmath'.
      2. Uncheck the setting 'requiretex' and save.
      3. Go back to the TinyMCE settings page and add 'dragmath' a few times to the setting 'Editor toolbar' .
      4. Copy the source files of tinymce_dragmath from https://github.com/moodlehq/moodle-tinymce_dragmath to lib/editor/tinymce/plugins/dragmath.
      Upgrade your site.
      1. Go to plugin overview and verify the DragMath plugin is listed as an Add-on.
      2. Ensure that the occurrences of 'dragmath' in the 'Editor toolbar' setting remain.
      3. Verify that plugin setting 'requiretex' was preserved.
      Show
      Test 1 Before you do the upgrade. Visit the TinyMCE settings by visiting 'Site administration' -> 'Plugins' -> 'Text editors' -> 'TinyMCE HTML editor' -> 'General settings'. For the setting 'Editor toolbar' add 'dragmath' to a few places. Upgrade your site. You should see 'To be deleted' next to the DragMath TinyMCE plugin. Visit the plugin overview page and verify the DragMath plugin is not listed any more. Visit the TinyMCE settings page again and check that there is no occurrence of 'dragmath' in the 'Edit toolbar' setting. Test 2 Before you do the upgrade. Visit the TinyMCE settings and then click on 'Settings' next to 'dragmath'. Uncheck the setting 'requiretex' and save. Go back to the TinyMCE settings page and add 'dragmath' a few times to the setting 'Editor toolbar' . Copy the source files of tinymce_dragmath from https://github.com/moodlehq/moodle-tinymce_dragmath to lib/editor/tinymce/plugins/dragmath. Upgrade your site. Go to plugin overview and verify the DragMath plugin is listed as an Add-on. Ensure that the occurrences of 'dragmath' in the 'Editor toolbar' setting remain. Verify that plugin setting 'requiretex' was preserved.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-32450_master
    • Story Points:
      8
    • Sprint:
      BACKEND Sprint 13

      Description

      DragMath jar (DragMath.jar) file is distributed with Moodle but there is no source code available. The same goes for all jars under lib/dragmath/applet/lib.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              tmuras Tomasz Muras
              Peer reviewer:
              Andrew Nicols
              Integrator:
              Dan Poltawski
              Tester:
              Frédéric Massart
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14