Hi,

I've noticed that all the files in the "modules/ckeditor/ckeditor" directory are deleted when one updates all his modules (and CKEditor is one of them) with the web interface D7 features now. I'm not shure if this is therefor a CKEditor or a drupal core bug but I thought I should let know what happened to me.

I guess all is fine when people install the dependencie in the "libraries/ckeditor" directory or when you upload updates manually.

Hope this helps someone or someone else knows what to do about it.

Grtzzz,
Hatznie.

Comments

johan2’s picture

Hi,
Thanks. This helped also for me. Still in D6 I was updating modules and had the same issue after a modification in the ckeditor. Still don't know when and why it happened, but after reinstalling a backup of ckeditor everything worked again. Strange.

molnitza’s picture

Project: CKEditor 4 - WYSIWYG HTML editor » Drupal core
Version: 7.x-1.1 » 7.0
Component: User interface » other

It seems that drupal deletes the whole module folder while updating. So it is no module bug. I think it is a problem of the drupal core.

bfroehle’s picture

Project: Drupal core » CKEditor 4 - WYSIWYG HTML editor
Version: 7.0 » 7.x-1.x-dev
Component: other » Code
Category: bug » feature

Well, the blame can be spread around here. Yes, the updater functionality deletes the whole module folder before installing the new version. There's really no other way to provide updates in a practical fashion.

There are already some other issues about this -- see #1018052: Detect and gracefully handle locally modified files during updates via the Update manager for example -- and any 'fix' is not likely to come until at least Drupal 8.

In the interim, a better solution would be for CKEditor to store it's external library in a different directory -- say sites/all/libraries. (Much like how the WYSIWYG module does it).

dczepierga’s picture

Status: Active » Closed (won't fix)

It's possible to use CKEditor library in diffrent library, so for now we cannot anything more with it.

Greetings