Issue Details (XML | Word | Printable)

Key: MDL-14233
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Jerome Mouneyrac
Reporter: Iñaki Arenaza
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

Make bulk user picture upload handle subdirectories in zip files (with patch)

Created: 06/Apr/08 10:59 PM   Updated: 30/Dec/08 12:33 AM
Return to search
Component/s: Administration
Affects Version/s: 1.9
Fix Version/s: 1.9.2

File Attachments: 1. Text File MDL-14233_update.patch (2 kB)
2. File uploaduserpicture-handle-subdirs-v2.diff (10 kB)

Issue Links:
Relates
 

URL: http://moodle.org/mod/forum/discuss.php?d=94182
Participants: Anthony Borrow, Eloy Lafuente (stronk7), Iñaki Arenaza, Jerome Mouneyrac and Petr Skoda
Security Level: None
QA Assignee: Anthony Borrow
Resolved date: 03/Jul/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
The current code for bulk importing user pictures expects the picture files not to be in subdirectories inside the zip file at all. If the zip file has subdirectories inside it, any files inside those subdirectories are ignored as we skip over directories.

The attached patch improves uploadpicture.php to recursively proccess any subdirectories in the zip file (and the files inside them), in addition to processing the files at the 'root' of the zip file.

Saludos. Iñaki.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) made changes - 29/Apr/08 06:01 AM
Field Original Value New Value
Fix Version/s 1.9.1 [ 10240 ]
Iñaki Arenaza made changes - 01/May/08 05:02 AM
Eloy Lafuente (stronk7) made changes - 08/May/08 09:36 AM
QA Assignee jerome
Martin Dougiamas made changes - 15/May/08 03:02 PM
Fix Version/s 1.9.2 [ 10280 ]
Fix Version/s 1.9.1 [ 10240 ]
Eloy Lafuente (stronk7) made changes - 03/Jul/08 09:01 AM
Assignee Eloy Lafuente (stronk7) [ stronk7 ] Jerome Mouneyrac [ jerome ]
Jerome Mouneyrac made changes - 03/Jul/08 03:40 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Jerome Mouneyrac made changes - 08/Jul/08 02:24 PM
QA Assignee jerome
Anthony Borrow made changes - 10/Jul/08 09:44 PM
Status Resolved [ 5 ] Closed [ 6 ]
QA Assignee aborrow
Jerome Mouneyrac made changes - 11/Jul/08 11:00 AM
Attachment MDL-14233_update.patch [ 14511 ]
Iñaki Arenaza made changes - 30/Dec/08 12:33 AM
Link This issue has a non-specific relationship to MDL-11752 [ MDL-11752 ]