- 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
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';
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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.