View Issue Details

IDProjectCategoryView StatusLast Update
0037447mantisbtreportspublic2026-11-26 03:53
Reporterstef-lhm11 Assigned Todregad  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version2.28.3 
Summary0037447: summary_page.php without submenu
Description

if you go to the summary_page there is no submenu, that leads to the graphic pages, anymore.
you can call for example the mantis/plugin.php?page=MantisGraph/resolution_graph.php direkt and that page shows the submenu. But without the submenu on summary_page, you cannot navigate the the graphic pages.

Steps To Reproduce

even as admin you won´t see any submenu on summary_page

TagsNo tags attached.

Activities

dregad

dregad

2026-10-14 11:55

developer   ~0071501

Since version 2.23.0, the submenu no longer exists, it has been replaced by the "Graphs" tab (framed in red in the attached screenshot).

You state your product version is 2.28.3, so I assume you're referring to that tab. Note that it is only available when the Graph plugin is installed, but apparently it is since you said you can view MantisGraph/resolution_graph.php.

Please provide a better description of the problem, maybe a screenshot would help.; the additional information listed below may also be useful:

  • Exact version of MantisBT, PHP, Database, Web server, Browser and Operating System
  • Relevant customizations (e.g. changes in config_inc.php, etc)
  • Installed plugins or custom functions ?
  • Was the MantisBT source code modified in any way ?
image.png (10,582 bytes)   
image.png (10,582 bytes)   
stef-lhm11

stef-lhm11

2026-10-15 01:47

reporter   ~0071504

Its a good hint, that the submenu no longer exists and it was replaced by a tab.
The graph plugin is installed, because is see the graphs by direct call.
we use
2.28.3
DB-Version 213
PHP-Version 8.3.33
DB mysqli 8.4.11
Plugins:
Import/Export Einträge 2.28.3
Taskodrome https://github.com/mantisbt-plugins/Taskodrome
MantisBT Core 2.28.3 Core Plugin API for the Mantis Bug Tracker.
MantisBT Diagramme 2.28.3 Offizielles Grafik-Plugin.
MantisBT-Formatierung 2.28.3 Offizielle Textverarbeitungs- und Formatierungserweiterung.

the config has just $g_relationship_graph_enable = ON; and other $g_relationship_graph params, but this has no influence i think.

in core/access_api-php i see at line 455 that only two params are filles
function access_ensure_project_level( $p_access_level, $p_project_id = null, $p_user_id = null ) {
echo "in acess_api: $p_access_level, $p_project_id, $p_user_id
";

the echo shows
in acess_api: 10, 1,

maybe that is the problem?

dregad

dregad

2026-10-15 04:32

developer   ~0071505

the config has just $g_relationship_graph_enable = ON; and other $g_relationship_graph params, but this has no influence i think.

Relationship graphs are a distinct feature (used in view.php), these settings are not relevant here.

maybe that is the problem?

This is normal. When $p_user_id is null, access check is made for the currently logged-in user.

In any case, the MantisGraph plugin does not implement any access restrictions of its own - it just displays its tab on the Summary page.

I'm sorry, but you are still not providing sufficient info to understand or reproduce the problem, so I'm unable to help you.

stef-lhm11

stef-lhm11

2026-10-15 07:44

reporter   ~0071506

I see you are DEVELOPER. As i know the view_summary_threshold in default_config is MANAGER. I tried it with MANAGER and ADMIN only. Maybe the role plays a role;)?

atrol

atrol

2026-10-15 08:28

developer   ~0071507

@stef-lhm11, I remember some conversation with you in forum where you mentioned that you changed core/constant_in.php to adjust enumerations of severity and priority.
Do you still change this or any other original file?

stef-lhm11

stef-lhm11

2026-10-15 08:37

reporter   ~0071508

we do not change core/constant_inc.php anymore. we just adjust the drop downs for SEV and PRIO in the GUI.

dregad

dregad

2026-10-15 10:17

developer   ~0071509

Maybe the role plays a role

summary_page.php and the MantisGraph charts are all driven by a single configuration (view_summary_threshold). If you don't have it you get an ACCESS DENIED error.

This is the 3rd time I'm asking you for more details. Until you provide a clear description and / or steps to reproduce the problem, I cannot help you.

stef-lhm11

stef-lhm11

2026-10-16 05:42

reporter   ~0071511

i dont know whats wrong, butmost of the time, i get a timeout from mantisbt.org/bugs.
i like to give you all information you need.
the infos you neede, i gave you above. the steps to reproduce are easy to explain. we instslled a new mantis. took your original DB, made little config changes and i log in as Admin. when i go to summary, i see no graphs tab. i tried other browsers, too. we didalotof complcated debugging, but we cannot see, why the print submenu call is not working anymore.we will go on with searching next week. hopefully we can find something.by the way, we do php developing as well and it is not the onlyone application we host on our RHEL10.

stef-lhm11

stef-lhm11

2026-10-19 04:07

reporter   ~0071512

i understand now, the graphs tab comes not from the print_summary_submenu() but from print_summary_menu! submenu is not necessary anymore. but in core/html_api.php in print_summary_menu t_filter_param is empty in my case. i dont know why.

stef-lhm11

stef-lhm11

2026-10-19 05:54

reporter   ~0071513

to be correct in print_summary_menu $p_filter is "Array" and t_filter_param is empty. what should be in t_filter_param?

stef-lhm11

stef-lhm11

2026-10-19 14:47

reporter   ~0071514

where should be the values for the array? database or any constant in a file?

dregad

dregad

2026-10-26 09:18

developer   ~0071537

most of the time, i get a timeout from mantisbt.org/bugs.

This likely is because of stupid AI crawlers that are killing our server. I'm sorry about the inconvenience, but sadly there is not much we can do about it given our limited resources.

print_summary_menu! submenu is not necessary anymore

Submenu is not used by MantisBT core; it is onyl displayed when a plugin hooks EVENT_SUBMENU_SUMMARY to insert new menu entries.

in print_summary_menu $p_filter is "Array" and t_filter_param is empty. what should be in t_filter_param
where should be the values for the array? database or any constant in a file?

If $p_filter is an Array, it means you reached the page via the Summary button in view_all_bug_page.php, which calls summary_page.php with a filter={filter_hash} parameter; the hash is used to retrieve the temporary filter criteria, which is stored as an array. Values depend on the active filter when the button was clicked.

If you have an active filter, you should see a yellow banner on top of the page, with a message like A filter has been applied (XXX issues).

That should not have any impact on displaying of the Graphs tab though.

I am still unable to reproduce your problem. With a fresh 2.28.3 install including the Taskodrome plugin, the Graphs tab is displayed as per the screenshot I posted in 0037447:0071501 when the MantisGraph plugin is installed.

stef-lhm11

stef-lhm11

2026-10-27 07:03

reporter   ~0071540

Ok, I understand. we have a second mantis installation made. Now we install the plugin for graph and will see what happens. we will observe every single change step until our final version under the topic "what happened to our Graph Tab". I am sure, we can find what killed our new tab;)

dregad

dregad

2026-10-27 11:40

developer   ~0071543

OK I wait for your feedback

stef-lhm11

stef-lhm11

2026-11-26 03:29

reporter   ~0071635

you can close this issue.
we started new and avoid an import of our original DB.
the import destroyed existing data and scheme maybe.
that was the reason why the summary tab went away.
now we copy table by table and keep the delivered data from the installation.
now, the tab is still there and it works.
for me it is not clear how to install a new mantis and use the DB from an old installation. for us this is the normal way to use Mantis and to do lifecycle.

dregad

dregad

2026-11-26 03:53

developer   ~0071636

Glad to hear you resolved the problem.

it is not clear how to install a new mantis and use the DB from an old installation

This process is clearly documented in the admin guide
https://mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.install.upgrade