Skip to content

[5.4] Use database from container and fix menuType table instantiation#45890

Merged
muhme merged 9 commits intojoomla:5.4-devfrom
richard67:5.4-dev-fix-admin-menu
Aug 13, 2025
Merged

[5.4] Use database from container and fix menuType table instantiation#45890
muhme merged 9 commits intojoomla:5.4-devfrom
richard67:5.4-dev-fix-admin-menu

Conversation

@richard67
Copy link
Member

@richard67 richard67 commented Aug 12, 2025

Pull Request for Issue #45886 .

Summary of Changes

This pull request (PR) fixes a regression which was introduced in 5.4.0-alpha3 and 6.0.0-alpha3 with PR #45687 .

Thanks to @HLeithner for suggestions on how to fix it.

Testing Instructions

Copied from issue #45886 :

  • Enable debug (so that you will get the bug stack trace)
  • In the admin create a new admin menu - no need to create any items
  • Click on add module and publish the module in the menu position
  • Click on any item in the menu

Actual result BEFORE applying this Pull Request

See issue #45886 .

Expected result AFTER applying this Pull Request

Menu item opens.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@brianteeman
Copy link
Contributor

seems to have the same problem

@richard67
Copy link
Member Author

seems to have the same problem

@brianteeman My mistake, use statement for the Factory is missing.

@brianteeman
Copy link
Contributor

yes that works

@richard67 richard67 changed the title [5.4] [WiP] Use database from container and fix menuType table instantiation [5.4] Use database from container and fix menuType table instantiation Aug 12, 2025
@richard67 richard67 marked this pull request as ready for review August 12, 2025 11:06
@brianteeman
Copy link
Contributor

I have tested this item ✅ successfully on bcebe72


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45890.

@richard67 richard67 added the bug label Aug 12, 2025
@richard67
Copy link
Member Author

@brianteeman Could you test again? That would be great. Thanks in advance.

@dautrich
Copy link

I have tested this item ✅ successfully on fffe775


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45890.

1 similar comment
@brianteeman
Copy link
Contributor

I have tested this item ✅ successfully on fffe775


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45890.

@richard67
Copy link
Member Author

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45890.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 12, 2025
@muhme
Copy link
Contributor

muhme commented Aug 13, 2025

✅ Final Test before merge

  • Seen the 500 'Call to a member function load() on false'
  • JBT graft full package, tested issue is fixed, tested all positions

@muhme muhme merged commit c6c914e into joomla:5.4-dev Aug 13, 2025
41 checks passed
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 13, 2025
@muhme muhme added this to the Joomla! 5.4.0 milestone Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants