- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category Backend/Core
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version 1.0-rc
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Flyspray - The bug killer!
Opened by Arthmoor - 23.01.2017
Last edited by peterdd - 24.01.2017
Opened by Arthmoor - 23.01.2017
Last edited by peterdd - 24.01.2017
FS#2330 - PHP Notice: Undefined offset: 0 in scripts/index.php on line 432
Pretty minor, but seems to show up regularly enough in our logs. The line in question:
$outfile = str_replace(' ', '_', $tasks[0]['project_title']).'_'.date("Y-m-d").'.csv';
Should fix the warning and also set the right filename when exporting from an 'all projects' task search.
Please verify that it fixes the bug, so I can merge and close this task.
https://github.com/Flyspray/flyspray/pull/625
That bug has been fixed. It resulted in a new one though:
PHP Notice: Undefined index: use_effort_tracking in scripts/index.php on line 480
But only when
'all projects' tasklist , right?
Seems export_task_list() is currently written only for single project tasklist exports.
For mixed tasklists the permissions must be checked for each task.
Does anybody requires mixed tasklist export csv?
I could disable export_task_list when
.. so no mixed csv export until it is overhauled.
I'm assuming it's the "all project" list since as far as I know, nobody is trying to invoke this themselves.