View Issue Details

IDProjectCategoryView StatusLast Update
0016502mantisbtbugtrackerpublic2014-12-08 02:07
Reporterdregad Assigned Todregad  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.0dev 
Target Version1.3.0-beta.1 
Summary0016502: Unable to delete issue
Description

Following recent commits to master branch it is no longer possible to delete issues, an SQL error is triggered

APPLICATION ERROR 401,
Error Description: Database query failed. Error received from database was 1048: Column 'old_value' cannot be null for the query: INSERT INTO mantis_bug_history_table
( user_id, bug_id, date_modified, type, old_value, new_value, field_name )
VALUES
( ?, ?, ?, ?, ?,?, ?).

TagsNo tags attached.

Activities

govind

govind

2013-12-01 22:04

reporter   ~0038706

sdfgdf

govind

govind

2013-12-01 22:05

reporter   ~0038737

xdfjghjgh

Related Changesets

MantisBT: master fe4875e2

2013-10-16 04:16

dregad


Details Diff
Fix issue preventing bug deletion

Removal of $c_user_id variable caused bug_unmonitor() to call
history_log_event_special() with a NULL user id, causing an SQL error.

Regression introduced by ad7009ca4a6810ddd559a8613c8a5b05e2fc5c6b

Fixes 0016502
Affected Issues
0016502
mod - core/bug_api.php Diff File