Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-42084

Null in Warning info when remove a resource

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.7 [Tentative], 19.2, 20.0 [Tentative]
    • Fix Version/s: 19.2, 20.0 [Tentative]
    • Component/s: Resources
    • Labels:
    • 19 status:
      Verified
    • 12 status:
      Please Merge
    • Test Plan:
      Hide
      1. Enter as an Instructor to a site
      2. Add a file to resources as an Instructor
      3. As admin add permissions to TA for that site (content.delete.own, content.hidden, content.new, content.read, content.revise.own)
      4. Enter as TA to the site
      5. Add a file to resources like TA
      6. Select both files
      7. Click on "Move to Trash"
      8. This warning message is shown: "You don't have permissions to remove: _files" (where _files are the file names)
      Show
      Enter as an Instructor to a site Add a file to resources as an Instructor As admin add permissions to TA for that site (content.delete.own, content.hidden, content.new, content.read, content.revise.own) Enter as TA to the site Add a file to resources like TA Select both files Click on "Move to Trash" This warning message is shown: "You don't have permissions to remove: _files" (where _files are the file names)

      Description

      When a TA tries to delete a file that is not its own, a "null" appears in the warning message instead of the file name

        Gliffy Diagrams

          Attachments

          1. Resources 1.PNG
            Resources 1.PNG
            61 kB
          2. Resources 2.PNG
            Resources 2.PNG
            64 kB
          3. Resources 3.PNG
            Resources 3.PNG
            15 kB

            Activity

              People

              • Assignee:
                alejandro martinez Alejandro Martínez Fernández
                Reporter:
                alejandro martinez Alejandro Martínez Fernández
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code