View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031876 | mantisbt | plug-ins | public | 2023-01-03 05:04 | 2023-02-22 19:21 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 2.25.6 | Fixed in Version | 2.25.6 | ||
Summary | 0031876: XML import: Undefined property warning when importing bug notes | ||||
Description | When importing issues with bugnotes where the bugnote node does not contain all the possible fields, Mantis issues a System warning 'Undefined property: stdClass::$time_tracking' in '.../plugins/XmlImportExport/ImportXml/Issue.php' line 263 These fields are actually not mandatory and should be defaulted when not present. | ||||
Tags | No tags attached. | ||||
MantisBT: master-2.25 8f53f0f7 2022-11-30 12:02 Details Diff |
Fix undefined variable warnings in XML plugin When importing issues with bugnotes where the bugnote node does not contain all the possible fields, Mantis issues an Undefined property warning. This sets a default value for missing non-required fields to prevent this. Fixes 0031876 Backported from 431562242080fd1747b97d567349b05b34da7157. |
Affected Issues 0031876 |
|
mod - plugins/XmlImportExport/ImportXml/Issue.php | Diff File | ||
MantisBT: master 43156224 2022-11-30 12:02 Details Diff |
Fix undefined variable warnings in XML plugin When importing issues with bugnotes where the bugnote node does not contain all the possible fields, Mantis issues an Undefined property warning. This sets a default value for missing non-required fields to prevent this. Fixes 0031876 |
Affected Issues 0031876 |
|
mod - plugins/XmlImportExport/ImportXml/Issue.php | Diff File |