Upload File Field Custom Upload Path Not working

When file upload field is inside conditional wrapper, the custom path is now not working and the files will be uploaded to standard wp-content/uploads folder.. As soon as file upload filed is on it’s own, it’s working fine.

It worked in the previous version and new update 3.1.0 have messed up my workflow. Waiting for a fix.

2 Likes

I have that same problem with my installation.

In addition, although I’ve checked the option Skip Adding to Media Library the images are added in the media library and get cropped to the available sizes of my site.

Finally, when I delete a submission doesn’t remote the related files which can lead in several issues including:

  1. Lot’s of orphan files remaining back in the file system.
  2. If customer request to delete his personal data, I do not have a way to delete them as I don’t know what images are linked to what submissions.
  3. In a case of a data leak, the base of files can contain sensitive personal information can be bigger than expected.

This is a serious issue though !

1 Like

Having the same problem :confused:

Hey guys! Thanks a lot for reporting this. I will take a look and if I found a bug there I`ll deploy a hotfix asap :slight_smile:

1 Like

Hey Daniele, have you been able to find the bug yet?
We use this functionality on several pages, so it’s quite urgent at the moment.
Thank you :slight_smile:

I have a similar issue with the file upload. I updated Bricksforge to an older version and it is working correctly again.

My set up:
I have a front end dashboard where logged in users can update photos to their profile page using Pro forms.
The images where being saved to the main Media Library but not to the post-id/CPT, so the photos weren’t saving properly and didn’t show up on their profile page.

Thanks :smiling_face:

Fixed :slight_smile: Will be deployed later today.

1 Like

Thank you Daniele! :slight_smile:

1 Like

Update: Seemed to be an isolated issue as I can’t replicate it any more… any help would still be appreciated on why this could happen?

Original:
I’m not sure what is going on… the file upload field with custom path worked for a while and now with the latest update it’s not uploading to a custom path any more, again… instead files go to the “temp” folder inside bricksforge although I have the same setup for the custom path I used before.

I set up the path but files get uploaded to here “../wp-content/uploads/bricksforge/tmp/IMG_9652.jpeg)” instead. And inside email I used to just get a path to a file in link format, I’m getting this instead → Upload: {“file”:…}

Any help?