Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
menu system
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2014 at 01:26 UTC
Updated:
13 Aug 2014 at 20:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
effulgentsia commentedComment #2
pwolanin commentedTesting the full patch with removal after fixing 8.x conflicts
Comment #3
pwolanin commentedHere's a new one including fixups at step 1
Comment #5
pwolanin commentedHere's the full patch
Comment #6
cilefen commentedThe xhprof runs:
53c29adf192f7.localhost@_drupal8x_menu-bench.xhprofis a load of /menu-bench from https://github.com/pwolanin/menu_bench.git on HEAD.53c2d8e0670a6.localhost@_drupal8x_menu-bench.xhprofis the same with last patch.Comment #7
xjmComment #8
xjmComment #9
pwolanin commentedHere's the current full patch
Comment #10
pwolanin commentedCurrent full patch after part1 is committed.
Comment #12
pwolanin commentedRebases cleanly, not sure why it doesn't apply
Comment #13
pwolanin commentedThis should be the full remaining patch since parts 1 and 2 are committed.
Comment #14
pwolanin commentedupdated combined patch and part5 only
Comment #16
pwolanin commentedwith fixes from part4
Comment #17
pwolanin commentedUpdated full remaining patch
Comment #19
pwolanin commentedre-rolled full patch
Comment #20
pwolanin commentednew snapshot of the full patch
Comment #21
pwolanin commentedUpdated patch with all changes from part4, and some small added cleanup
Comment #23
pwolanin commentedWith part4 system controller fixes
Comment #25
pwolanin commentedadding in fixes from part4
Comment #26
pwolanin commentedlast part!
Final patch after #2301317: MenuLinkNG part4: Conversion
Comment #27
effulgentsia commentedLooks good! Just deletions of functions in menu.inc, and the old menu_link module, whose .info.yml was already deleted in part 4.
After this lands, we should go back to the part 4 change records, and ensure these menu.inc deletions are referenced in there:
Comment #28
xjmThanks @effulgentsia! I checked and these are covered in https://www.drupal.org/node/2302069 with updates I wrote yesterday:
const MENU_MAX_DEPTH = 9;
function menu_load_links($menu_name) {
function menu_delete_links($menu_name) {
Covered in previous CR https://www.drupal.org/node/2240003
function menu_link_get_preferred($path = NULL, $selected_menu = NULL)
No references I found:
function menu_set_active_menu_names($menu_names = NULL) {
function menu_get_active_menu_names() {
function menu_link_rebuild_defaults() {
Comment #29
xjmTagging the child issues retroactively.
Comment #30
alexpottMenuHierarchy still uses MENU_MAX_DEPTH.
Comment #31
pwolanin commentedI think we can just remove that class - the menu tree storage should not be access by Views.
Comment #32
xjmWe discussed this a bit in IRC. As nothing is using this handler in core and there is no test coverage for it, @damiankloip and I are okay with simply removing the handler, at least here. I've left a message asking @dawehner to make the call as to whether we should consider this a regression that needs a followup.
Comment #33
effulgentsia commentedI also left a comment in #1805996-71: [META] Views in Drupal Core. Even if we need that plugin back, I think that should be a followup rather than hold up this patch, as this plugin is completely broken in HEAD as-is (there's no {menu_links} table to join to). Therefore, back to RTBC if green.
Comment #34
dries commentedCommitted to 8.x. Repeat after me: yay!!! Thanks everyone.