View Issue Details

IDProjectCategoryView StatusLast Update
0032998mantisbtadministrationpublic2024-09-29 13:22
Reporterdregad Assigned Tovboctor  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version2.26.0 
Target Version2.28.0 
Summary0032998: Call to undefined function mci_get_project_id() when removing a user from a project
Description

INTERNAL APPLICATION ERROR
Call to undefined function mci_get_project_id()

Stack trace
#   Filename    Line    Class   Type    Function    Args
0   .../mantisbt/manage_proj_user_remove.php    60  ProjectUsersDeleteCommand   ->  validate

This is a regression introduced by MantisBT master c8c2f3fa, see 0032467

Steps To Reproduce

Disable javascript

In manage_proj_edit_page.php, with at least one user assigned to the project, under Manage Accounts click Remove all button.

Problem does not occur when removing an individual user.

TagsNo tags attached.

Relationships

related to 0032467 closedvboctor REST API: Delete Project User 

Activities

vboctor

vboctor

2023-10-16 00:38

manager   ~0068222

@dregad I'm unable to reproduce this. I have strict errors set.

$g_display_errors = array(
  E_WARNING    => DISPLAY_ERROR_HALT,
  E_ALL        => DISPLAY_ERROR_HALT,
  E_USER_ERROR => DISPLAY_ERROR_HALT,
);

$g_show_detailed_errors = ON;
dregad

dregad

2023-10-16 03:44

developer   ~0068223

The problem only occurs when javascript is disabled. In that case the Remove All button calls manage_proj_user_remove.php directly instead of toggling all the remove checkboxes .