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

Unable to delete database activity entry attachment

XMLWordPrintable

    • MySQL
    • MOODLE_16_STABLE, MOODLE_20_STABLE, MOODLE_24_STABLE
    • MOODLE_25_STABLE
    • wip-MDL-7660-master
    • Hide

      Test steps

      1. Create a database activity.
      2. Add two fields - File and Picture.
      3. Save the templates and add an entry.
        • Try dragging and dropping a file into the load area (should be marked with a large blue arrow).
        • Do the same with the picture.
      4. Click on view list and then click on the edit icon to edit your entry.
        • Check that you can delete the file and the picture (click on the image of the file and then select delete).
      5. Try adding files with out drag and drop (There should be an icon with a page with a plus sign on it).
        • Save the entry and check that the file is uploaded.
      6. Turn off JavaScript and delete and add files and pictures.
        • Check that no errors or problems occur.
      Show
      Test steps Create a database activity. Add two fields - File and Picture. Save the templates and add an entry. Try dragging and dropping a file into the load area (should be marked with a large blue arrow). Do the same with the picture. Click on view list and then click on the edit icon to edit your entry. Check that you can delete the file and the picture (click on the image of the file and then select delete). Try adding files with out drag and drop (There should be an icon with a page with a plus sign on it). Save the entry and check that the file is uploaded. Turn off JavaScript and delete and add files and pictures. Check that no errors or problems occur.

      If you upload a file in a database entry and then wish to delete that file there is no way to do so in the UI.

      If you delete the file from the backend (i.e. going into the course files area or via ftp etc.) the link remains and an error is thrown (just stating the obvious i.e. can't find file).

      You can get rid of the link (as long as you only enter a space in the the link optional file name field), and therefore, the error message, but can not get rid of the file icon.

            abgreeve Adrian Greeve
            harrysmith Just H
            Damyon Wiese Damyon Wiese
            Sam Hemelryk Sam Hemelryk
            Michael de Raadt Michael de Raadt
            Votes:
            16 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.