Hi, I have no idea where to begin debugging this.
I have a profile content type that contains a file upload (filefield for user pictures) and a textarea field utilizing the ckeditor.
Recently I stumbled upon the behaviour that whenever I log in as a normal registered user (not admin) and use the remove file button in the edit form then the contents of the following ckeditor field disappears.. so ckeditor responds to the command issued by the delete file button in the filefield. I have changed the order of the fields, but this made no difference.
Strangely enough this does not happen when I am logged in as admin.
Any ideas?? Or should this be mentioned in the filefield issuelist?
I am using drupal 6.26 and filefield 6-3.10.
Thanks
Comment | File | Size | Author |
---|---|---|---|
#8 | ckeditor-filefield-remove.patch | 922 bytes | vectoroc |
Comments
Comment #1
tezalsec CreditAttribution: tezalsec commentedAnyone?
Comment #2
akrywko CreditAttribution: akrywko commentedSame problem here.
I was also trying 6.x-1.x-dev and many module and permission setting - no luck, no clue.
Comment #3
tezalsec CreditAttribution: tezalsec commentedStill no response? Maintainer?
It seems a pretty serious issue to me, ckeditor allowing other elements to delete its content...
Cheers.
Comment #4
dczepierga CreditAttribution: dczepierga commentedI cannot reproduce this on:
- CKEditor module - last DEV
- CCK module - last DEV
- FileField 3.10
do u try to update to DEV version to reproduce this issue?
If sth work on admin account and not in user account, it's probably problem with this module because we use this same script to do this in admin and user account.
If update to DEV version doesn't help, it is possible to get access to your webserver with this site?
Greetings
Comment #5
tezalsec CreditAttribution: tezalsec commentedThank you for your response, as soon I have time I will look into the DEV versions. The other subscribing user seems to experience the same problem on the DEV version too though.
I don't quite understand what you are saying with "If sth(?) work on admin account and not in user account, it's probably problem with this module (which module?) because we use this same script to do this in admin and user account."
Unfortunately I am not allowed to give access to the server..
Cheers.
Comment #6
dczepierga CreditAttribution: dczepierga commentedI want only to say that if something (any functionality) work on admin account it should also work on user account, because we use this same script for handling funconality for admin and user account. It could be problem with CCK module... we have a lot of problems in Drupal 6 to add compatibility with it...
Pls check this on CKEditor and CCK module in DEV version, and then write does it help or not...
Greetings
Comment #7
vectoroc CreditAttribution: vectoroc commentedI have'nt tried it on dev version but I see the same problem in dev code
ckeditor.utils.js
As I understand here we have to disable ckeditor on description of filefield that's being removed.
So correct version of code should look like
Comment #8
vectoroc CreditAttribution: vectoroc commentedtry some one this patch
Comment #8.0
vectoroc CreditAttribution: vectoroc commentedlittle edit