TmpTitle creates multiple copies of images
-
The old ‘tmptitle’ error, which happens when there are too many pictures in the mail attachment, or when the Postie import times out, creates an additional copy of every picture each time it tries to re-process the same email.
The result, if the admin is not paying attention, is multiple copies of the same image cluttering up the Media folder.
For example, if an email has 10 images, and the email times out or fails for some reason, the result will be up to 10 images in the media folder. Then the next processing of the same email – since it wasn’t completed, it wasn’t deleted – fails, and you get up to 10 more images in the media folder. Repeat hourly (or whatever the processing interval is), and you now have tons of images in the Media folder that have to be deleted.
It would seem that a better process would be for Postie to check if the email image has already been processed once – the source filename should be in the Media folder. If the image has alreasdy been processed once, then that image name could be kept in an array, but not uploaded again. Only images that haven’t been processed on prior processing of that email should be uploaded on the next processing.
This would help ensure that the email would eventually be fully processed, and a post completed. This would also reduce the number of ‘tmptitle’ posts that also have to be manually deleted.
This would be a great improvement to reduce the number of tmptitle posts, and the number of uploaded but not ‘associated with a completed post’ images in the Media folder.
Postie works great when there are just a few images in the email. But Postie is not good at recovering from failed ‘tmptitle’ posts. Even with image size limits set higher than default, and processing timeouts increased.
- The topic ‘TmpTitle creates multiple copies of images’ is closed to new replies.