Issue Details (XML | Word | Printable)

Key: MDL-10175
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Eloy Lafuente (stronk7)
Reporter: Jeremy Hopkins
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

Issue Exporting Calendar

Created: 19/Jun/07 07:16 PM   Updated: 20/Jun/07 03:06 AM
Return to search
Component/s: Calendar
Affects Version/s: 1.8, 1.8.1
Fix Version/s: 1.7.3, 1.8.2, 1.9

Environment: Apache/2.0.54 PHP/4.3.10 MySQL 4.1.19 Debian Linux

Database: MySQL
Participants: Eloy Lafuente (stronk7) and Jeremy Hopkins
Security Level: None
Resolved date: 20/Jun/07
Affected Branches: MOODLE_18_STABLE
Fixed Branches: MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE


 Description  « Hide
When attempting to export courses the following errors are reported:

Warning: array_keys(): The first argument should be an array in /WWW/moodle/calendar/export_execute.php on line 103

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 148

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 149

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 150

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 151

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 153

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 154

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 155
BEGIN:VCALENDAR METHOD:PUBLISH PRODID:-//John Papaioannou/NONSGML Bennu 0.1//EN VERSION:2.0 END:VCALENDAR

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Jeremy Hopkins added a comment - 19/Jun/07 07:17 PM
I should have mentioned this error has been observed both in 1.8 and 1.8.1

Eloy Lafuente (stronk7) committed 2 files to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 20/Jun/07 01:53 AM
Now calendar export have some correct defaults. MDL-10175
MODIFY calendar/export_execute.php   Rev. 1.2.4.1    (+4 -4 lines)
MODIFY calendar/export_basic.html   Rev. 1.4.2.1    (+2 -2 lines)
Eloy Lafuente (stronk7) committed 2 files to 'Moodle CVS' - 20/Jun/07 01:54 AM
Now calendar export have some correct defaults. MDL-10175

Merged from MOODLE_18_STABLE
MODIFY calendar/export_execute.php   Rev. 1.3    (+4 -4 lines)
MODIFY calendar/export_basic.html   Rev. 1.5    (+2 -2 lines)
Eloy Lafuente (stronk7) committed 2 files to 'Moodle CVS' on branch 'MOODLE_17_STABLE' - 20/Jun/07 02:58 AM
Now calendar export have some correct defaults. MDL-10175

Backported from MOODLE_18_STABLE
MODIFY calendar/export_execute.php   Rev. 1.1.8.1    (+2 -2 lines)
MODIFY calendar/export_basic.html   Rev. 1.1.8.1    (+2 -2 lines)
Eloy Lafuente (stronk7) made changes - 20/Jun/07 02:59 AM
Field Original Value New Value
Assignee Jon Papaioannou [ pj ] Eloy Lafuente (stronk7) [ stronk7 ]
Eloy Lafuente (stronk7) made changes - 20/Jun/07 03:00 AM
Status Open [ 1 ] In Progress [ 3 ]
Eloy Lafuente (stronk7) added a comment - 20/Jun/07 03:06 AM
Hi Jeremy,

the problem was related with the check boxes above the "export" button not having default values. This has been fixed in CVS (for Moodle 1.7.x, 1.8.x and HEAD) and seems to be working here.

Updated file will be available in next nightly (or daily as you prefer) build.

Thanks for your report!

Ciao


Eloy Lafuente (stronk7) made changes - 20/Jun/07 03:06 AM
Status In Progress [ 3 ] Resolved [ 5 ]
Fix Version/s 1.8.2 [ 10220 ]
Fix Version/s 1.9 [ 10190 ]
Resolution Fixed [ 1 ]
Fix Version/s 1.7.3 [ 10212 ]