The install (migration) script of ckeditor accepts only a fckeditor schema version 6201. The current schema is 6202. I gues this schema version also works for a migration?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

scott_earnest’s picture

It worked for me, mostly. I needed to add 6202 as an accepted value in the switch. Sorry I don't have patch writing power.

Index: ckeditor.install
===================================================================
@@ 58,3
  switch ($f_sv) {
    case 6201:
+    case 6202:
      db_query("INSERT INTO {ckeditor_role}(name, rid) SELECT name, rid FROM {fckeditor_role}");

It did not reassign the permissions, like "access fckeditor, administer fckeditor". Looks like there may not be an equivalent for "allow fckeditor file uploads".

rjacobs’s picture

Tracking.

Is it safe to run the same code for either schema? Sounds like it may be. As far as I can see from the documentation, direct permissions are not copied from fckeditor... and it looks like the code supports this impression (though it does seem to copy the settings that state which role can use which profile).

rjacobs’s picture

I migrated from fckeditor to ckeditor on a couple of sites recently. I had good success using the small edit noted in #1. So long as you manually set the new ckeditor permissions, all my global and profile settings copied over fine. Saved me a lot of time.

Went fckeditor 6.x-2.1 -> ckeditor 6.x-1.2

rjacobs’s picture

Here it is in patch form.

It's a 1-line addition, so it might just be easier to edit by hand, but I want to get a patch in if that will move-along the testing/fix process.

Cheers,
Ryan

rjacobs’s picture

Category: support » bug
Priority: Minor » Normal
Status: Active » Needs review

Edit: update issue metadata

dczepierga’s picture

Status: Needs review » Closed (fixed)

Changes commited to CVS.

I closed this issue.