View Issue Details

IDProjectCategoryView StatusLast Update
0035562mantisbtuipublic2025-03-17 14:45
Reporterraspopov Assigned Tocommunity  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.27.1 
Target Version2.28.0Fixed in Version2.28.0 
Summary0035562: If user is anonymous, page footer overlaps with error message
Description

For the anonymous user, the error page layout was broken and the footer was overlapping the page content.

TagsNo tags attached.

Activities

raspopov

raspopov

2025-03-11 11:54

reporter   ~0069983

PR: https://github.com/mantisbt/mantisbt/pull/2122

I don't see why an anonymous user should see a truncated page layout.

dregad

dregad

2025-03-14 19:53

developer   ~0069991

I don't see why an anonymous user should see a truncated page layout.

I tend to agree. I am not sure why this special case for unauthenticated user was implemented.

raspopov

raspopov

2025-03-15 16:03

reporter   ~0069995

Last edited: 2025-03-16 01:51

I realized why the unauthenticated user is handled separately - because if the anonymous user is disabled, there is a cyclic redirect error to the login page ( in current_user_modify_single_project_default() ). :-(

We just need to fix the layout like it was done for the admin pages: https://github.com/mantisbt/mantisbt/pull/2123

Related Changesets

MantisBT: master ec7784aa

2025-03-11 11:50

raspopov

Committer: dregad


Details Diff
Fix error message page layout

For the anonymous user, the layout was broken and the footer was
overlapping the page content.

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

MantisBT: master 3995116b

2025-03-16 12:07

raspopov

Committer: community


Details Diff
Prevent endless redirection loop

This is the alternative fix in place of
ec7784aa042839714c661ace706ae15a398df0b2.

Admin page does not have infinite login loop if anonymous account is
disabled.

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