Closed (fixed)
Project:
YUI Rich Text Editor
Version:
6.x-1.2-97
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2008 at 20:06 UTC
Updated:
8 Oct 2008 at 03:59 UTC
Jump to comment: Most recent file
Comments
Comment #1
JonMB commentedIs it being removed from the HTML code? Or is it still there but not displaying?
Comment #2
Rustan commentedThe file is removed from the server. The link is still there.
Comment #3
Rustan commentedSorry, forgot to add that I use a local yui 2.5.2 library. I have Private Uploads installed but now deactivated, no other modules that do anything with files.
Comment #4
Fett commentedI have also encountered this error. Like Rustan said, the links/html is all still there but the file is gone. If I manually paste the file back into the folder everything works and the file doesn't disappear again.
Comment #5
ikok commentedHi all,
I'm facing the same problem,
after finding more details, i've found that all the images that i uploaded through YUI, got their status as Temporary files and from what i understand the temporary files would disappear after a while by default.
hope this useful
now,i'm asking my friend who could do php programing to help me on this and would let you know if we could fix this problem.
update : here is what my friend told me
add
file_set_status($file, FILE_STATUS_PERMANENT);
to the .module (YUI module, i guess) then all the image files uploaded should have their status as Permanent already... this should solve the problem =)
i've upload the screenshot here
http://macmuemai.com/sites/default/files/2008-10-03_200058.jpg
hope this help
:D
Comment #6
john morahan commentedHere's the above "patch" in non-image form.
For reference, see http://api.drupal.org/api/function/file_save_upload/6 - the image is initially saved as a temporary file.
Comment #7
john morahan commentedHmm, looks like this is already fixed in -dev. Any chance of a release? ;)
Comment #8
jeffcd commentedShall be released shortly.