Hi!

Commit r719145 broke the messagebundles behavior.

AbstractMessageBundleFactory.getBundle() gets parent and child
MessageBundles, then creates and returns a new MessageBundle that's the
union of both.

However, MessageBundle(MessageBundle parent, MessageBundle child) leaves
this.jsonString null, so when
RenderingContentRewriter.injectMessageBundles() calls
bundle.toJSONString(), it just gets null back.

This results in JavaScript being generated like
gadgets.Prefs.setMessages_(), which effectively sets the prefs.messages
value to undefined, causing any gadget that uses message bundles to fail
on the first prefs.getMsg() call.

iGoogle/Orkut are broken as a result.

Thanks,
Dave

Reply via email to