View Issue Details

IDProjectCategoryView StatusLast Update
0027800mantisbtbugtrackerpublic2021-03-05 22:05
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version2.24.5Fixed in Version2.24.5 
Summary0027800: install.php throws SYSTEM WARNINGs
Description

When processing null schema steps (e.g. 184, 196, 197, 199), the installer throws the following error at lines 1006 and 1008.

SYSTEM WARNING: 'Trying to access array offset on value of type null' in '/path/to/mantisbt/admin/install.php'

TagsNo tags attached.

Relationships

has duplicate 0028001 closedatrol fresh Install error (install.php line 1005) 

Activities

dregad

dregad

2020-12-30 05:41

developer   ~0064867

PR https://github.com/mantisbt/mantisbt/pull/1719

dregad

dregad

2021-03-05 19:31

developer   ~0065183

Changed target to 2.24.5

Related Changesets

MantisBT: master a2628c71

2020-12-24 10:28:57

dregad

Details Diff
Properly deal with "no-op" (null) upgrade steps

The current code throws SYSTEM WARNINGs when processing them, as it
tries to dereference the schema step as an array while its value is
actually null.

Fixes 0027800
Affected Issues
0027800
mod - admin/install.php Diff File

MantisBT: master-2.24 4795a394

2020-12-24 10:28:57

dregad

Details Diff
Properly deal with "no-op" (null) upgrade steps

The current code throws SYSTEM WARNINGs when processing them, as it
tries to dereference the schema step as an array while its value is
actually null.

Fixes 0027800

(cherry picked from commit a2628c71c9d50d45eb0da54f8bee48af2358bb11)
Affected Issues
0027800
mod - admin/install.php Diff File