Comment 4 for bug 414755

Revision history for this message
Deryck Hodge (deryck) wrote :

Hi, Barry.

There's is a small chance of data loss if someone were to submit the empty textbox after the UI fails to update. The UI fail is after the initial description updates fine via the API.

The problem is in the formatter config option, around line 211 currently of lib/canonical/widgets/lazrjs.py. In these lines:

formatter: function(result, attribute) {
    var dl = Y.DOM.create(result)[1]
    var dl_nodes = dl.childNodes;

dl seems to be a fine enough DOM node when inspecting in Opera's debugger, but dl.childNodes is undefined.

I honestly didn't spend too much time trying to investigate given all the template work the bugs team has pending, but I hope this can be re-enabled reasonably soon. I'm sure there's a work around, but I didn't want an un-usable or dangerous experience for Opera users in the interim.