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

Uninformative error when moving forum without first selecting destination

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.3, 2.7.5, 2.8.3, 2.9.1
    • 3.0
    • Forum
    • MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_30_STABLE
    • MDL-46321-master
    • Hide
      • Create at least two forums in the same course
      • Start a discussion in one of the forums
      • Attempt to move the discussion to the other forum
      • Check that the discussion has been moved successfully
      Show
      Create at least two forums in the same course Start a discussion in one of the forums Attempt to move the discussion to the other forum Check that the discussion has been moved successfully

    Description

      Steps to Reproduce:
      1. Select a discussion in the Forum
      2. On the Move this discussion to... dropdown leave it on the default (no forum selected to move the discussion to) and click [Move]
      3. Stack Trace error displays:
      Debug info:
      Error code: error
      Stack trace:
      line 463 of /lib/setuplib.php: moodle_exception thrown
      line 40 of /course/jumpto.php: call to print_error()

      The error that gets displayed is just "Error occurred." This is terribly unfriendly. The end user might not understand what they are doing wrong. Seems like it could be a little more informative.

      Attachments

        Issue Links

          Activity

            People

              tonybutler Tony Butler
              hernan43 Ray Hernandez
              Andrew Lyons Andrew Lyons
              David Monllaó David Monllaó
              Frédéric Massart Frédéric Massart
              Adrian Greeve, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Nov/15