Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
menu system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Apr 2013 at 04:16 UTC
Updated:
30 Apr 2013 at 15:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
kaidjohnson commentedHere's a proposed solution for the problem. By using json_encode, we're flattening the arrays into strings to make a true, fully-recursive comparison. I've opted to use json_encode over serialize for performance reasons (I did some of my own tests on a small scale, http://phpdevblog.niknovo.com/2009/11/serialize-vs-var-export-vs-json-en... seems to back up my findings).
Comment #2
kaidjohnson commentedComment #4
kaidjohnson commented#1: menu-link-save-recursive-equality-1982992-1.patch queued for re-testing.