? Pending

User tests: Successful: Unsuccessful:

avatar rdeutz
rdeutz
17 Jan 2017

Summary of Changes

We use different menutype values for the admin menu. This PR syncs the used name for updating old installations. It also sets the client_id for admin menus to 1

Testing Instructions

  • Install Joomla
  • Install an extension

Make sure everything works.

Documentation Changes Required

None

avatar rdeutz rdeutz - open - 17 Jan 2017
avatar rdeutz rdeutz - change - 17 Jan 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jan 2017
Category SQL Administration com_admin Postgresql MS SQL
avatar rdeutz rdeutz - change - 18 Jan 2017
Labels Added: ?
avatar izharaazmi
izharaazmi - comment - 18 Jan 2017

@rdeutz Do you intend to make "menutype" = 'menu' obsolete/deprecate?

I also find the client_id to be already "1" as of J3.6.5. Why do we need to do that update sql?

avatar rdeutz
rdeutz - comment - 18 Jan 2017

I don't see a reason to have menutype == menu, the menutype isn't used at all before 3.7. I think I have found in old sites that has client_id = 0 for admin menu item but while thinking about it again I might be wrong. Whatever it doesn't hurt :-)

avatar Bakual Bakual - change - 18 Jan 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-01-18 14:25:08
Closed_By Bakual
avatar Bakual Bakual - close - 18 Jan 2017
avatar Bakual Bakual - merge - 18 Jan 2017
avatar izharaazmi
izharaazmi - comment - 18 Jan 2017

So now should we get rid of the dropdown option "Menu (protected)" in the menu manager filter or keep it for just in case B/C?

avatar wojsmol
wojsmol - comment - 28 Apr 2017

@rdeutz This PR may cause the menu to disappear from the frontend on web pages created in older Joomla! versions and updated to 3.7.0.

avatar brianteeman
brianteeman - comment - 28 Apr 2017

@wojsmol please create a new issue and reference this one. Your comment wont be seen otherwise

avatar wojsmol
wojsmol - comment - 28 Apr 2017

@brianteeman I work on PR, give me about an hour.

avatar wojsmol
wojsmol - comment - 28 Apr 2017

@brianteeman issue created #15671

avatar PhilETaylor
PhilETaylor - comment - 28 Apr 2017

Yes, that change is pathetic and should never have been made :-(

Add a Comment

Login with GitHub to post a comment