PDA

View Full Version : [CLOSED] Console error when populating htmleditor field in a collapsed fieldset via loadRecord



mx_starter
8 Nov 2013, 9:47 AM
Ext version tested:

Ext 4.2.1 rev 883
Browser versions tested against:

FF25.0 (firebug 1.12.4 installed)
IE11.0.9600.16411

DOCTYPE tested against:

<!DOCTYPE html>

Description:

Console error appears when trying to do a loadRecord() on a form containing an htmleditor field in a COLLAPSED fieldset.
The field get loaded with the appropriate content despite the error
No error when the field is not in a collapsed fieldset
Error is:
NS_ERROR_FAILURE: Failure
doc.execCommand(cmd, false, (value == undefined ? null : value));
(ext-all-debug-w-comments.js / line 144148)

Steps to reproduce the problem:

create a form panel containg a collapsed fieldset with a htmleditor field within
try to load some data via loadRecord()

The result that was expected:

Normal form field population

The result that occurs instead:

The field is populated correctly, but a console error appears

Gary Schlosberg
8 Nov 2013, 2:22 PM
Can you please post a test case which reproduces the issue? You can use our Fiddle (https://fiddle.sencha.com/#home) if you like.

mx_starter
9 Nov 2013, 7:46 AM
Well - this is not he most elegant fiddle maybe:

https://fiddle.sencha.com/#fiddle/1fn


Open with FF, show the firebug console and run the fiddle - it is even not related to loadRecord()


1fn

mx_starter
15 Nov 2013, 1:35 AM
Any news here?:-?

Gary Schlosberg
15 Nov 2013, 2:53 PM
Thanks for the report! I have opened a bug in our bug tracker.