View Issue Details

IDProjectCategoryView StatusLast Update
0032353mantisbtbugtrackerpublic2023-04-11 19:07
Reportersintaq Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.25.6 
Fixed in Version2.25.7 
Summary0032353: Getting Undefined index: target_version when viewing bug
Description

I'm getting undefined index error when viewing bug. The errors seems impacting to product version, target version and fixed in version

However, the errors dissolved whenever I'm selecting (need to configure product version, target version and fixed in version first) the values accordingly

TagsNo tags attached.
Attached Files
image.png (20,196 bytes)   
image.png (20,196 bytes)   
image-2.png (11,607 bytes)   
image-2.png (11,607 bytes)   

Relationships

related to 0032086 closeddregad IssueViewPageCommand.php line 135: 'Undefined array key "version" with php 8.1.16 

Activities

atrol

atrol

2023-04-07 13:06

developer   ~0067607

I guess you using PHP 8.1 or newer, so this is a duplicate of 0032086 and will be fixed in 2.25.7.
Feal free to reopen if this is a different issue.

sintaq

sintaq

2023-04-07 13:45

reporter   ~0067608

@atrol

am on 7.1.7

sintaq

sintaq

2023-04-07 13:46

reporter   ~0067609

image-3.png (3,759 bytes)   
image-3.png (3,759 bytes)   
atrol

atrol

2023-04-07 14:32

developer   ~0067610

@sintaq could you please try if this is fixed when using latest nughtly build of 2.25.7 https://www.mantisbt.org/builds.php ?

atrol

atrol

2023-04-08 05:08

developer   ~0067611

I tried myself and found what I expected. The changes to fix 0032086 are also fixing this issue.

Using PHP 7.x throws a SYSTEM NOTICE, whereas PHP 8.0 throws a SYSTEM WARNING.