Issue Details (XML | Word | Printable)

Key: MDL-14409
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Martin Dougiamas
Reporter: Robert Allerstorfer
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Template tags mismatch as Guest breaks list view

Created: 18/Apr/08 04:18 AM   Updated: 18/Apr/08 10:21 PM
Return to search
Component/s: Database activity module
Affects Version/s: 1.9
Fix Version/s: 1.9.1

File Attachments: 1. Text File MDL-14409.patch (0.9 kB)

Image Attachments:

1. List_view_as_Administrator-OK.png
(17 kB)

2. List_view_as_Guest-ERROR.png
(19 kB)
Issue Links:
Relates
 

Database: Any
Participants: Martin Dougiamas and Robert Allerstorfer
Security Level: None
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
When using templates tags in the listtemplate, such as ##edit##, ##delete##, ##more## or ##moreurl##, the list view works fine when logged in as Administrator (see attached screenshot "List_view_as_Administrator-OK").

However, when the same list is viewed as a Guest, it gets broken (see attached screenshot "List_view_as_Guest-ERROR").

Sorry for submitting this as a blocker, but this bug in fact stops the database to be used in a production environment, as I do it.



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Robert Allerstorfer made changes - 18/Apr/08 04:18 AM
Field Original Value New Value
Attachment List_view_as_Administrator-OK.png [ 13701 ]
Robert Allerstorfer made changes - 18/Apr/08 04:18 AM
Attachment List_view_as_Guest-ERROR.png [ 13702 ]
Robert Allerstorfer added a comment - 18/Apr/08 04:54 AM
The attached patch against MOODLE_19_STABLE fixes this bug.

Robert Allerstorfer made changes - 18/Apr/08 04:54 AM
Attachment MDL-14409.patch [ 13703 ]
Martin Dougiamas made changes - 18/Apr/08 10:19 PM
Link This issue duplicates MDL-11511 [ MDL-11511 ]
Martin Dougiamas made changes - 18/Apr/08 10:19 PM
Link This issue duplicates MDL-11511 [ MDL-11511 ]
Martin Dougiamas made changes - 18/Apr/08 10:20 PM
Link This issue has a non-specific relationship to MDL-11511 [ MDL-11511 ]
Martin Dougiamas added a comment - 18/Apr/08 10:20 PM
Thanks Robert!

Dongsheng fixed this earlier today without having seen your bug: http://cvs.moodle.org/moodle/mod/data/lib.php?r1=1.137.2.21&r2=1.137.2.22

(same fix though!)


Martin Dougiamas made changes - 18/Apr/08 10:20 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]
Martin Dougiamas made changes - 18/Apr/08 10:21 PM
Fix Version/s 1.9.1 [ 10240 ]