Moodle
  1. Moodle
  2. MDL-27068

Cannot delete activity on course it will just return on refresh

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.9.11
    • Fix Version/s: STABLE backlog
    • Component/s: AJAX and JavaScript, SCORM
    • Labels:
    • Environment:
      Linux moodle-rhfe1.cqu.edu.au 2.6.18-238.5.1.0.1.el5 #1 SMP Tue Mar 1 20:34:56 EST 2011 i686 i686 i386 GNU/Linux
      Postgresql 8.2
    • Database:
      PostgreSQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      16706

      Description

      I cannot delete an activity from the course page. Basically, You can delete it and the ajax will remove it from the page but when you refresh it will be back again. The difference being maybe a missing name but the icon will still be there.

      1. Delete scorm activity
      2. Refresh and it will return.

      This is the screenshot when you click delete. It appears that it has been deleted : https://skitch.com/donkeyx/r2gpd/course-hlth13031-population-health-epidemiology-term-1-2011

      This is a screenshot after a page refresh with debugging turned on: https://skitch.com/donkeyx/r2gc7/course-hlth13031-population-health-epidemiology-term-1-2011

      And this is the error from the apache logs when you click delete.
      [Mon Apr 04 12:18:49 2011] [error] [client 138.77.00.00] Ajax rest.php: Could not delete the scorm (instance), referer: http://moodle.cqu.edu.au/course/view.php?id=18266&edit=1&sesskey=PVLsJlsYrt

        Activity

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: