U4-3066 - RTE stops working when pre-values from v6 exist

Created by Shannon Deminick 09 Oct 2013, 04:46:35 Updated by Per Ploug 09 Oct 2013, 12:20:58

Subtask of: U4-2887

The RTE editor doesn't render when using an upgraded site with v6 pre-values - need to detect them and act accordingly. We can deal with this based on db upgrade scripts, in the c# property editor (so that we can upgrade the pre-values to what is supposed to be there), or hack it with JS (not recommended since it won't upgrade the legacy pre-vals to the new ones).

I'm happy to do the c# conversion but currently the rte pre-values are not working so cannot see what is to be stored and how.

JS stack trace:

TypeError: Cannot read property 'toolbar' of undefined at http://localhost:7000/umbraco/js/umbraco.controllers.js:3010:39 at j.promise.then.i (http://localhost:7000/umbraco/lib/angular/1.1.5/angular.min.js:79:437) at http://localhost:7000/umbraco/lib/angular/1.1.5/angular.min.js:80:485 at Object.$get.e.$eval (http://localhost:7000/umbraco/lib/angular/1.1.5/angular.min.js:92:272) at Object.$get.e.$digest (http://localhost:7000/umbraco/lib/angular/1.1.5/angular.min.js:90:142) at Object.$get.e.$apply (http://localhost:7000/umbraco/lib/angular/1.1.5/angular.min.js:92:431) at j (http://localhost:7000/umbraco/lib/angular/1.1.5/angular.min.js:101:80) at r (http://localhost:7000/umbraco/lib/angular/1.1.5/angular.min.js:104:449) at XMLHttpRequest.v.onreadystatechange (http://localhost:7000/umbraco/lib/angular/1.1.5/angular.min.js:106:90)


Priority: Normal

Type: Task

State: Fixed

Assignee: Per Ploug

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.0.0


Story Points: