View Issue Details

IDProjectCategoryView StatusLast Update
0014013mantisbtcustomizationpublic2014-09-23 18:05
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.2.8 
Target Version1.2.10Fixed in Version1.2.10 
Summary0014013: System notice in bug_check_workflow()
Description

I'm suspecting that this happens when there are statuses that don't exist in the workflow or vice versa.

SYSTEM NOTICE
Undefined index: 40

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

Full path: C:\wamp\www\mantis\core\bug_api.php
Line: 882
Variable Value Type
p_bug_status 40 string
p_wanted_status 50 integer

t_status_enum_workflow
Variable Value Type
10 40:in development,90:closed string
80 10:new,40:in development,85:integration testing string
85 10:new,86:verified string
86 10:new,40:in development,90:closed string
90 10:new string
Filename Line Function Args
C:\wamp\www\mantis\core\html_api.php 1418 - - bug_check_workflow ( <string>'40', <integer>50 )
C:\wamp\www\mantis\core\html_api.php 1630 - - html_button_bug_assign_to ( <integer>25436 )
C:\wamp\www\mantis\bug_view_inc.php 689 - - html_buttons_view_bug_page ( <integer>25436 )
C:\wamp\www\mantis\view.php 34 - - include ( <string>'C:\wamp\www\mantis\bug_view_inc.php' )

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 

Activities

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036293

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master-1.2.x ecf22ae0

2012-03-06 19:41

vboctor


Details Diff
Fixes 0014013: System notice in bug_check_workflow().

If the status workflow is defined, but there is no corresponding entry to the current state, then allow all statuses. The reasoning is that there should always be at least one possible next status.
Affected Issues
0014013
mod - core/bug_api.php Diff File

MantisBT: master 241ae23b

2012-03-06 19:41

vboctor


Details Diff
Fixes 0014013: System notice in bug_check_workflow().

If the status workflow is defined, but there is no corresponding entry to the current state, then allow all statuses. The reasoning is that there should always be at least one possible next status.
Affected Issues
0014013
mod - core/bug_api.php Diff File