Public bug reported: In 1.4_STABLE, when we try to export users to Leap2A file (in /admin/users/bulkexport.php), if we list indiviual users instead of leaving the "usernanames to export" list empty, we get a 'Not Found' in the progress bar and no download is offered. We also get errors similar to these:
[Wed Aug 24 00:43:25 2011] [error] [client ::1] [INF] 38 (admin/users/bulkdownload.php:218) Exported 3 users to /usr/src/mahara/uploaddir/export/1/1314139405/mahara-bulk-export-1314139405.zip, referer: http://localhost/mahara-14/admin/users/bulkexport.php [Wed Aug 24 00:43:25 2011] [error] [client ::1] script '/var/www/mahara-14/admin/users/download.php' not found or unable to stat, referer: http://localhost/mahara-14/admin/users/bulkdownload.php In master, if we leave the "usernanames to export" list empty, we get a 'Not Found' in the progress bar and no download is offered. If we specify a valid user and enter a new line character, the progress bar doesn't display anything but the download is offered. If we specify a valid user but don't enter a new line character, we get a 'Not Found' in the progress bar and no download is offered. We also get similar errors to the above ones. The problem is in lib/htmloutput.php, function print_export_footer(), that hardcodes the new document location to 'download.php', while bulkexport.php needs to redirect to 'bulkdownload.php' Proposed (and tested) fixes will be sent to reviews.mahara.org in a few minutes. Saludos. Iñaki. ** Affects: mahara Importance: Undecided Status: New ** Tags: patch -- You received this bug notification because you are a member of Mahara Core, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/832409 Title: "Export users to Leap2A files" fails if indiviual users are specified Status in Mahara ePortfolio: New Bug description: In 1.4_STABLE, when we try to export users to Leap2A file (in /admin/users/bulkexport.php), if we list indiviual users instead of leaving the "usernanames to export" list empty, we get a 'Not Found' in the progress bar and no download is offered. We also get errors similar to these: [Wed Aug 24 00:43:25 2011] [error] [client ::1] [INF] 38 (admin/users/bulkdownload.php:218) Exported 3 users to /usr/src/mahara/uploaddir/export/1/1314139405/mahara-bulk-export-1314139405.zip, referer: http://localhost/mahara-14/admin/users/bulkexport.php [Wed Aug 24 00:43:25 2011] [error] [client ::1] script '/var/www/mahara-14/admin/users/download.php' not found or unable to stat, referer: http://localhost/mahara-14/admin/users/bulkdownload.php In master, if we leave the "usernanames to export" list empty, we get a 'Not Found' in the progress bar and no download is offered. If we specify a valid user and enter a new line character, the progress bar doesn't display anything but the download is offered. If we specify a valid user but don't enter a new line character, we get a 'Not Found' in the progress bar and no download is offered. We also get similar errors to the above ones. The problem is in lib/htmloutput.php, function print_export_footer(), that hardcodes the new document location to 'download.php', while bulkexport.php needs to redirect to 'bulkdownload.php' Proposed (and tested) fixes will be sent to reviews.mahara.org in a few minutes. Saludos. Iñaki. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/832409/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-core Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-core More help : https://help.launchpad.net/ListHelp

