View Issue Details

IDProjectCategoryView StatusLast Update
0033480mantisbtbugtrackerpublic2024-04-15 19:47
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.26.0 
Target Version2.26.1Fixed in Version2.26.1 
Summary0033480: Blank page when redirecting with print_successful_redirect()
Description

Following implementation of 0005189 in 2.26.0, when $g_stop_on_errors = ON and $g_display_errors[E_USER_DEPRECATED] = DISPLAY_ERROR_INLINE, any call to the deprecated print_successful_redirect() function results in a blank page, as Mantis does not complete the redirection due to presence of a handled deprecation error, and no longer displays any page where the delayed error messages could be displayed either.

TagsNo tags attached.

Relationships

related to 0005189 closedvboctor "Operation successful." message page slows down interaction 
related to 0034404 closeddregad Proceed button is shown twice when redirecting with pending errors 

Activities

Related Changesets

MantisBT: master-2.26 90df6dde

2024-01-04 08:37

dregad


Details Diff
Show delayed inline errors from print_header_redirect()

Following the deprecation of print_successful_redirect() function in
issue 0005189, calling it shows a blank page when $g_stop_on_errors = ON
and $g_display_errors[E_USER_DEPRECATED] = DISPLAY_ERROR_INLINE because
Mantis does not complete the redirection due to presence of a handled
error.

print_header_redirect() now displays a basic "proceed" page, with
redirection enabled only when $g_stop_on_errors = ON, allowing any
delayed inline error messages to be shown.

Fixes 0033480
Affected Issues
0005189, 0033480
mod - core/print_api.php Diff File

MantisBT: master-2.26 5e65518b

2024-01-24 17:35

dregad


Details Diff
Display a message with the Proceed button

When delayed inline error messages are displayed on a page with a
redirection, call html_operation_successful() to inform the user that
the operation completed successfully despite the errors.

Issue 0033480
Affected Issues
0033480
mod - core/print_api.php Diff File

MantisBT: master-2.26 452f0f15

2024-04-15 19:47

dregad


Details Diff
Remove extra "Proceed" button when redirecting

When print_header_redirect() is handling pending errors, the Proceed
button is shown twice, once in html_operation_successful()'s output, and
again in a standalone div.

This is a regression introduced by 5e65518b1ef546ea62b4098bfff9134087caccfb
(issue 0033480), which added the html_operation_successful() call, but
did not remove the existing Proceed button.

Fixes 0034404
Affected Issues
0033480, 0034404
mod - core/print_api.php Diff File