[#1029]: globals.custom_fields is declared as [{}], so use dict key access syntax.
This helps dealing with newly created, cached objects. Also, keep log handy around.
Authored by: Paul Sokolovsky 2010-11-10
Parent(s): [44773f]
Child(ren): [276799]