History | Log In     View a printable version of the current page.  
We are currently focused especially on Moodle 2.0, Moodle 1.9.x bugs and Moodle 1.9.x testing.    Confused? Lost? Please read this introduction to the Tracker.
Issue Details (XML | Word | Printable)

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

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
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 Škoda
Security Level: None


 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 Škoda - 13/Nov/07 05:45 AM
sending fresh patch - should be ready for commit :-)

Petr Škoda - 13/Nov/07 05:09 PM
fixed in cvs