Flyspray - The bug killer!

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Backend/Core
  • Assigned To
    peterdd
  • Operating System All
  • Severity Medium
  • Priority Medium
  • Reported Version 1.0 devel (github master)
  • Due in Version 1.0-rc10
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by peterdd2 - 27.11.2020
Last edited by peterdd - 22.04.2021

FS#2621 - php notice/warning when reopening in some circumstances

Reopening a task triggers a PHP notice with PHP7.4 under some circumstances.
Reopening a task triggers a PHP warning with PHP8.0 under some circumstances.

Reproduce:

  1. Create task
  2. Close task directly without setting a completion percentage
  3. Reopen the task
Notice: Trying to access array offset on value of type bool in /***/includes/modify.inc.php on line 684
Notice: Trying to access array offset on value of type bool in /***/includes/modify.inc.php on line 686
Notice: Trying to access array offset on value of type bool in /***/includes/modify.inc.php on line 686
The task blocks this from closing
ID Project Summary Priority Severity Assigned To Progress
2586 Flyspray - The bug killer!  FS#2586 - PHP7.4  Medium Low peterdd
100%
Closed by  peterdd
22.04.2021 18:27
Reason for closing:  Fixed in devel
Additional comments about closing:  

https://github.com/Flyspr ay/flyspray/commit/20271a64f81fa5de15d77 1ad2f5580a72ba78c6d

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing