Images Uploaded Through YUI Editor Have Temp. Status and Are Deleted

dubitable - July 15, 2008 - 19:34
Project:YUI Rich Text Editor
Version:6.x-1.2-97
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Hi, I don't believe I've seen this issue listed elsewhere for this module, so I'm adding a new one. I've found that the images I add with the YUI Editor on Drupal 6.2 through to 6.3 don't seem to "stick." After a certain period of time, they are wiped by cron.

I believe the problem is that they are never set to "permanent" in the files table; so I added a line in the yui_editor_image_upload() function in yui_editor.module to do this.

Please review and let me know if this is warranted and if I've addressed this properly--thanks!

AttachmentSize
yui_editor.module.patch433 bytes

#1

jeffcd - July 16, 2008 - 00:51
Status:patch (code needs review)» fixed

Added to dev nightly release and will go out with 6.x-2.0 as soon as the new 2.0 version is ready to be released.

#2

jeffcd - July 18, 2008 - 21:01
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.