Needs review
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Order
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Dec 2015 at 00:09 UTC
Updated:
2 Sep 2020 at 20:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joelpittetHere's the patch split from #2632084: Improve performance of commerce_order_ui_menu()
Comment #3
joelpittetComment #4
joelpittetComment #5
rszrama commentedI touched this up a little, because #2 wouldn't have set the static cache if the order states array was found in the Drupal cache. However, as I was thinking it over, I realized this really needs to be language specific. Otherwise states won't be translated properly. This should work much the same way our cache implementation works for currencies.
Comment #6
joelpittetHope nobody is using #2 it caused me some grief this morning. Hiding it. #5 doesn't seem to have the same bug.
Comment #7
joelpittetI'm running into an issue with #5 too where the address checkout page is going blank... gotta sort out what's going on.
Comment #8
joelpittetThis is the diff in the stored cache serialized array:
Comment #9
joelpittetAh that seems to be my fault... I had some weird hook_commerce_checkout_page_info_alter() that was adding checkout_cart. Probably because I thought they were something else.
Comment #10
torgospizzaSeems like low-hanging fruit, setting back to NR.