Changesets: MantisBT

master 276c0310

2018-02-06 12:35

dregad

Committer: vboctor


Details Diff
Remove error handler's "errcontext" parameter

The $errcontext parameter for the error handler function has been
deprecated in PHP 7.2.

We currently use this parameter to display some of the local variables
when an error is triggered and $g_show_detailed_errors = ON, but the
output is broken and difficult to read since 2.x was released.

Considering the deprecation notice, it does not make sense to fix the
layout now since the raw data will no longer be available in the next
major PHP release.

This commit changes the error handler's signature, and removes all code
dedicated to printing Context information on the detailed error page.

Fixes 0023942
Affected Issues
0023942
mod - core/error_api.php Diff File

master 3258e530

2018-02-05 23:58

atrol


Details Diff
Deprecate utf8 functions

Issue 0023214
Affected Issues
0023214
mod - core/string_api.php Diff File

master bff178ec

2018-02-05 20:25

vboctor


Details Diff
Re-order code in error_print_stack_trace()
mod - core/error_api.php Diff File

master b2119ce0

2018-02-05 20:24

vboctor


Details Diff
Show PHP exception in REST only if detailed errors is ON Affected Issues
0023925, 0025429
mod - api/rest/index.php Diff File

master a770ccfb

2018-02-05 20:21

vboctor


Details Diff
Show exceptions in UI when show detailed errors is ON Affected Issues
0023925
mod - core/error_api.php Diff File

master 70324479

2018-02-05 20:14

vboctor


Details Diff
Fix func name typo for getting stack trace as string Affected Issues
0023925
mod - api/rest/index.php Diff File
mod - api/soap/mc_api.php Diff File
mod - core/error_api.php Diff File

master 41a29a06

2018-02-04 13:02

dregad


Details Diff
Remove admin check for Application Errors

This test is no longer necessary, as we are now enforcing handling
method DISPLAY_ERROR_HALT for all error types since commit
c816588d2616225f33896e7f4f4cd5a45447bce6.

Fixes 0023876
Affected Issues
0023876
mod - admin/check/check_config_inc.php Diff File

master 098fa8fe

2018-02-04 01:46

atrol


Details Diff
Update admin checks to make finfo extension mandatory

Fixes 0023930
Affected Issues
0023930
mod - admin/check/check_attachments_inc.php Diff File
mod - admin/check/check_php_inc.php Diff File
mod - core/file_api.php Diff File
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File

master 2aa1c090

2018-02-03 15:22

vboctor


Details Diff
Don’t show php exceptions but log them Affected Issues
0023925
mod - api/rest/index.php Diff File
mod - api/soap/mc_api.php Diff File
mod - core/error_api.php Diff File

master 407105e6

2018-02-03 14:47

dregad

Committer: vboctor


Details Diff
Improve code and styling for stack trace printing

- Add '#' column
- Add missing column header labels
- better HTML formatting, easier to read
- improve code readability by using printf to output the stack trace

Fixes 0023943
Affected Issues
0023943
mod - core/error_api.php Diff File

master 78cbf344

2018-02-03 14:43

dregad

Committer: vboctor


Details Diff
Improve detailed error output

Switch from simple, table-based layout to a div with a title, subtitles.

Fixes 0023943
Affected Issues
0023943
mod - core/error_api.php Diff File
mod - css/default.css Diff File

master 471e7ff7

2018-02-03 14:32

dregad

Committer: vboctor


Details Diff
Stack trace should begin where error was triggered

Until now, the first entry in the stack trace was the MantisBT error
handler.

The reported stack now begins with the function call where the error was
actually triggered.

Instead of multiple array_shift() calls, we now rely on a single
array_slice().

Fixes 0023944
Affected Issues
0023944
mod - core/error_api.php Diff File

master 15c7af56

2018-02-03 13:53

vboctor


Details Diff
Revert "Fix regression that discloses file path in some errors"

This reverts commit d5d85f17bf934f6a13abcce69fec41171096205e.
Affected Issues
0023925
mod - api/soap/mc_api.php Diff File
mod - core/error_api.php Diff File

master a6847156

2018-02-03 12:34

dregad

Committer: vboctor


Details Diff
PHPDoc in error_api.php

- Added block for $g_exception global
- Added MantisException type to error_exception_handler() parameter
mod - core/error_api.php Diff File

master 62471c77

2018-02-03 12:34

dregad

Committer: vboctor


Details Diff
PHPDoc: lang_get() can also return an array

When retrieving 'MANTIS_ERROR'.
mod - core/lang_api.php Diff File

master 8bc7ce50

2018-02-03 07:43

atrol


Details Diff
Merge branch 'master-2.10'
mod - bug_update.php Diff File

master bcb801bd

2018-02-03 01:04

dregad

Committer: vboctor


Details Diff
Whitespace
mod - core/error_api.php Diff File

master a02b5dcb

2018-02-03 01:03

dregad

Committer: vboctor


Details Diff
Fix HTML in error page when $g_show_detailed_errors = ON

- Added missing </div> causing footer to be hidden behind the sidebar
- Removed unnecessary <p> tags containing <div> and/or <table> tags
- Added a few newlines to make generated HTML easier to read

Fixes 0023926
Affected Issues
0023926
mod - core/error_api.php Diff File

master 404a75ec

2018-02-02 21:59

vboctor


Details Diff
Fix regression that discloses file path in some errors

This was introduced as part of refactoring error handler and it happens
with some errors even when show_detailed_errors is set to OFF.

Fixes 0023925
Affected Issues
0023925
mod - api/soap/mc_api.php Diff File
mod - core/error_api.php Diff File

master 967a4cb5

2018-02-02 21:15

vboctor


Details Diff
Fix recent regression in updating user account
mod - core/user_api.php Diff File

master 45454c32

2018-02-02 14:49

vboctor


Details Diff
print_users_option_list to use expanded name API
mod - core/print_api.php Diff File

master c7348cf5

2018-02-02 14:43

vboctor


Details Diff
Change manage project page to use user name APIs
mod - core/print_api.php Diff File
mod - core/user_api.php Diff File
mod - manage_proj_edit_page.php Diff File

master 1c9a8b87

2018-02-02 14:19

vboctor


Details Diff
Use print_user() API on project page
mod - project_page.php Diff File

master 0eb55f93

2018-02-02 14:07

vboctor


Details Diff
Santize real name in tooltips
mod - core/prepare_api.php Diff File

master a3c0e9e3

2018-02-02 14:02

vboctor


Details Diff
Change time tracking to print username using API
mod - billing_inc.php Diff File
mod - bugnote_stats_inc.php Diff File
mod - core/billing_api.php Diff File
mod - core/bugnote_api.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 141 142 143 144 145 146 147 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last