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

When adding a course module and setting the visibility using the form visibleold is set incorrectly

    Details

    • Testing Instructions:
      Hide
      1. Create a new url, setting its visibility to hidden in the form
      2. Save and return to course.
      3. Move item to a non-hidden section
      4. VERIFY: the course module stays hidden
      5. Create a new url, setting its visibility to hidden in the form
      6. VERIFY: in the database that the course_module record for that resource has the visibleold setting is set to 0
      Show
      Create a new url, setting its visibility to hidden in the form Save and return to course. Move item to a non-hidden section VERIFY: the course module stays hidden Create a new url, setting its visibility to hidden in the form VERIFY: in the database that the course_module record for that resource has the visibleold setting is set to 0
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-38713-master

      Description

      1. Create a new course module, setting its visibility to hidden in the form
      2. Check the visible and visibleold values in the db

      Expected: visibleold and visible should both be 0

      Actual: visibleold is set to 1.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  8 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

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