Active
Project:
Gallery Assist
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2011 at 10:27 UTC
Updated:
28 Jul 2011 at 22:21 UTC
When node is created normally, images are uploading okay.
When node is created by a Triggered Rule, images are uploaded, but not saved.
Comments
Comment #1
vogre commentedOkay, I've found it!
In the function gallery_assist_makedirs there are numerous checks like
if (is_dir($my_user_upload_folder) && !is_dir($my_gallery_upload_folder)) {
if (file_check_directory($my_gallery_upload_folder, 1));
}
But there is no check for existence of $my_user_upload_folder.
Doing this helps a little:
3382: = $my_gallery_previews_folder = $my_gallery_upload_folder ."/prev";
3383: + file_check_directory($my_user_upload_folder,1);
Sorry for not providing a correct patch:(
Comment #2
jcmc commented