Moodle
  1. Moodle
  2. MDL-1632

Browse by category: Attachments, edit and delete

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: Glossary
    • Labels:
      None
    • Environment:
      Linux
    • Rank:
      8304

      Description

      When clicking on Browse by category you can't see the attached files. Second problem: even a teacher can't delete or edit any entry in category-mode.

      Solution: in mod/glossary/sql.php change line 46 to $sqlselect = SELECT ge.*, gec.entryid, gc.name $as pivot;! (gec.entryid was: gec.id)

      Under the given URL the bug is fixed right now.

        Activity

        Hide
        Martin Dougiamas added a comment -

        From Eloy Lafuente (stronk7 at moodle.org) Monday, 12 July 2004, 07:14 AM:

        Yeah. I think it's the same I detected in MDL-1605. I'll make it as soon as possible.

        Thanks for the report (and solution)!! Ciao

        From Deen Foxx (deen.f at vgad.com) Monday, 12 July 2004, 11:06 PM:

        This is more than just an annoyance. You can accidentally respond, edit or delete the wrong glossary entry because of this simple bug.

        Thank you for the fix, also. Solved my problem.

        From Eloy Lafuente (stronk7 at moodle.org) Monday, 12 July 2004, 11:20 PM:

        Working on it now!!

        Same problem detected in line 74 (viewing 1 category). It should be:

        $sqlselect = SELECT ge.*, ce.entryid, c.name $as pivot;

        I continue...ciao

        From Eloy Lafuente (stronk7 at moodle.org) Tuesday, 13 July 2004, 12:57 AM:

        Now it's in cvs (1.3 and 1.4dev) and seems to work fine. I'll close it in some days if there isn't news here!

        Thanks and ciao

        From Eloy Lafuente (stronk7 at moodle.org) Wednesday, 14 July 2004, 11:27 PM:

        Closing this now. Reopen if necessary. Ciao

        Show
        Martin Dougiamas added a comment - From Eloy Lafuente (stronk7 at moodle.org) Monday, 12 July 2004, 07:14 AM: Yeah. I think it's the same I detected in MDL-1605 . I'll make it as soon as possible. Thanks for the report (and solution)!! Ciao From Deen Foxx (deen.f at vgad.com) Monday, 12 July 2004, 11:06 PM: This is more than just an annoyance. You can accidentally respond, edit or delete the wrong glossary entry because of this simple bug. Thank you for the fix, also. Solved my problem. From Eloy Lafuente (stronk7 at moodle.org) Monday, 12 July 2004, 11:20 PM: Working on it now!! Same problem detected in line 74 (viewing 1 category). It should be: $sqlselect = SELECT ge.*, ce.entryid, c.name $as pivot; I continue...ciao From Eloy Lafuente (stronk7 at moodle.org) Tuesday, 13 July 2004, 12:57 AM: Now it's in cvs (1.3 and 1.4dev) and seems to work fine. I'll close it in some days if there isn't news here! Thanks and ciao From Eloy Lafuente (stronk7 at moodle.org) Wednesday, 14 July 2004, 11:27 PM: Closing this now. Reopen if necessary. Ciao
        Hide
        Michael Blake added a comment -

        assign to a valid user

        Show
        Michael Blake added a comment - assign to a valid user

          People

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

            Dates

            • Created:
              Updated:
              Resolved: