Issue Details (XML | Word | Printable)

Key: MDL-12101
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Petr Skoda
Reporter: Petr Skoda
Votes: 0
Watchers: 0
Operations

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

bulk user operations cleanup/fixes

Created: 12/Nov/07 04:56 AM   Updated: 27/Dec/07 06:48 PM
Return to search
Component/s: Administration
Affects Version/s: 1.9
Fix Version/s: 1.9

File Attachments: 1. Text File big_bulk1.patch (136 kB)

Issue Links:
Dependency
 
Relates
 

Participants: Petr Skoda
Security Level: None
Resolved date: 13/Nov/07
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
There are several problems:
1/ unitialized arrays - XSS
2/ bad sql syntax - wrong quotes used in filters
3/ incorrect use of formslib - not nice at all, very fragile and hackish
4/ user filters ORed, should be ANDed - we can simulate OR by select all + clearing the filters, we can not do AND filters now
5/ localization unfinished and problematic
6/ hardcoded guest user id
7/ some more...

Solution:
* split the forms
* move the data processing logic from forms
* general cleanup

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda added a comment - 13/Nov/07 05:45 AM
sending fresh patch - should be ready for commit

Petr Skoda added a comment - 13/Nov/07 05:09 PM
fixed in cvs