Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34311 Improve debugging when using default cleaning
  3. MDL-38807

Many PARAM_RAW warnings when editing a grade forms

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Forms Library, Gradebook
    • Labels:
    • Testing Instructions:
      Hide

      As admin:

      1. In admin settings, enable outcomes
      2. In course outcomes menu, add an outcome
      3. In a course, add two assignements
      4. In one assignment enable an outcome in the outcome settings
      5. Go to Course Admin ▶ Grades
      6. Turn editing on
      7. Click the edit grade item button (the whole column edit button)
      8. VERIFY: no setType warnings displayed
      9. Go back to Course Admin ▶ Grades
      10. Click on the edit icon on an individual grade (edit button on inidvidual grade box)
      11. VERIFY: no setType warnings displayed
      12. Go back to Course Admin ▶ Grades
      13. Edit the grade category (top row edit button)
      14. VERIFY: no setType warnings displayed
      15. Go back to Course Admin ▶ Grades
      16. In the outcome column you created, click the edit button
      17. VERIFY: no setType warnings displayed
      Show
      As admin: In admin settings, enable outcomes In course outcomes menu, add an outcome In a course, add two assignements In one assignment enable an outcome in the outcome settings Go to Course Admin ▶ Grades Turn editing on Click the edit grade item button (the whole column edit button) VERIFY: no setType warnings displayed Go back to Course Admin ▶ Grades Click on the edit icon on an individual grade (edit button on inidvidual grade box) VERIFY: no setType warnings displayed Go back to Course Admin ▶ Grades Edit the grade category (top row edit button) VERIFY: no setType warnings displayed Go back to Course Admin ▶ Grades In the outcome column you created, click the edit button VERIFY: no setType warnings displayed
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-38807-master

      Description

      To reproduce edit any grade item.

      There are 8 different errors like

      Did you remember to call setType() for 'itemname'? Defaulting to PARAM_RAW cleaning.

        Attachments

          Activity

            People

            • Assignee:
              poltawski Dan Poltawski
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Andrew Davis
              Integrator:
              Damyon Wiese
              Tester:
              Damyon Wiese
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Ryan Wyllie, Jake Dallimore, Jun Pataleta, Ryan Wyllie
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13