View Issue Details

IDProjectCategoryView StatusLast Update
0034436mantisbtcode cleanuppublic2024-05-07 02:25
Reporterdregad Assigned To 
PrioritylowSeverityminorReproducibilityN/A
Status acknowledgedResolutionopen 
Summary0034436: Refactor bug_relationship_api.php to stop relying on dynamic properties in BugData class
Description

These properties are referenced in relgraph_generate_dep_graph() , relgraph_add_parent() , relgraph_add_child().

It would be more appropriate to define a specific class to store the few BugData attributes that are actually needed (id, summary, status), and the dependency data.

Additional Information

See 0034106:0068911

TagsNo tags attached.

Relationships

related to 0034106 closeddregad Deprecated creation of dynamic properties in BugData class 

Activities

amphetamine

amphetamine

2024-05-06 20:11

reporter   ~0068913

DEPRECATED: 'Creation of dynamic property BugData::$due_date_sort_null is deprecated' in '..\mantis\core\bug_api.php' line 380

Is it related to my case?

dregad

dregad

2024-05-07 01:38

developer   ~0068914

Is it related to my case?

Probably not, more likely related to 0034106, but I don't know what what your case is, so you will need to be more specific, maybe provide a full stack trace or detailed steps to reproduce.

amphetamine

amphetamine

2024-05-07 02:24

reporter   ~0068915

Last edited: 2024-05-07 02:25

You are correct; the issue was resolved by replacing the file bug_api.php from https://mantisbt.org/bugs/plugin.php?page=Source/view&id=26987.