While there were no errors displayed when uploading these images, I just found a large number of files named tmp* in my files/active/0 folder.

These files seem to be in use by acidfree, here's the source of the page, copied the img tags - first one looksincorrect, second and third one looks file.

Seems like there may have been a failure to rename the tmp file? This can be seen at the site:
http://www.aczoom.com/cms/albums/travel/montreal/marche-jean-talon
The fancy URLs hide this problem, but I've 24 files named tmp*, which does not seem right - should be zero?

img src="//www.aczoom.com/cms/files/active/0/tmp874106005_thumb.jpg"

img src="//www.aczoom.com/cms/files/active/0/153_thumb.jpg"

img src="//www.aczoom.com/cms/files/active/0/151_thumb.jpg"

Comments

vhmauery’s picture

Status: Active » Postponed (maintainer needs more info)

If you could figure out how to reproduce this, it would be very helpful. I have seen it once before, but I can not figure out how to reproduce it myself.

mwheinz’s picture

Title: Some image links point to tmp files... » I'm seeing this as well.

It appears to happen when the user selects "preview" before "submit".

vhmauery’s picture

Title: I'm seeing this as well. » Some image links point to tmp files

Yes, I know it exists. But the question of the day is: can you reproduce it? I need steps to reproduce this, not more people telling me they have seen it too.

bwooster47’s picture

Since this is hard to reproduce - is there a workaround - maybe in 5.0 if 4.7 is not possible, to re-upload the image (only the image, so need to have this just swap out old image for new image, leaving everything else in the database untouched). I would be fine with a manual workaround.
This may also be considered as a "feature" - swap out image feature!

vhmauery’s picture

This issue will not exist in Acidfree 5.0 because it uses Image module and the native Drupal files api.

bwooster47’s picture

100% reproducible, just as porkchop_d_clown said in a previous comment.

Go to Adminstration, Settings -> Posts.

Select Required for "Preview Post"

Now upload a picture, after filling in picture form, only a "Preview" button is available, and then the next page shows the Submit button. After the second page submit is clicked, it all seems to work, but the file name is still left as tmp.....

The file is not left as tmp if the settings -> posts is set to "Optional" for the Preview Post. Then, as long as you don't click on preview on the first page but click on submit, file is named correctly.

vhmauery’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

I am going to go ahead and close this. Not because it is not a bug, but because I am not going to fix it. I don't have time to keep working on 4.7 and 5.0 at the same time. Out with the old and in with the new. Test out Acidfree 5.0 and see if it works any better for you. This problem in particular won't show up because it is using the Image module, which I know for a fact has preview working.