Formfeed-UK / nova-dependable-panel

A Nova 4 Panel that allows DependsOn Functionality
MIT License
7 stars 7 forks source link

Images not uploading in DependablePanel when linked in s3 #6

Open HeadStudios opened 1 year ago

HeadStudios commented 1 year ago

Just wanted to confirm an issue I just discovered that Image fields placed inside Dependable Panels - at least when linked to s3 buckets - do not work when uploading.

I have confirmed DependablePanel being the source of this issue as placing the Image field outside the DependablePanel has fixed my upload issue. I am attaching working code below: https://gist.github.com/HeadStudios/9b54d9f4d3b469eaf0e1e54fc358228d (note the mms_image field being outside DependablePanels)

The non working code below: https://gist.github.com/HeadStudios/f64b3fbc3b7b7c4a8dfccb0c5ecdd2eb (notice the mms_image being inside a DependablePanel)

Please let me know if there are any troubleshooting steps you would like me to perform to troubleshoot this issue if the issue is on my end - or let me know if this is a limitation of the current DependablePanel release.

Thank you!

ianrobertsFF commented 1 year ago

Not currently using S3, so ill probably have to set up a bucket to test this myself

When you say it doesn't work, can you answer the following?

1) Is there an error? 2) Is the file making it into S3? 3) Is the filename being saved in the database column?

HeadStudios commented 1 year ago

Hi Ian,

Before I answer I also wanted to note that the BelongsTo field does not work in the Dependable Panel for me when it is Searchable either - so perhaps this could be another item to test.

In regards to your questions:

  1. No error is shown on front end
  2. No the file is not being uploaded to s3
  3. No the file is not being saved in the database column

Please let me know if any other input from myself is required or if you would like a video of the workflow that causes the issue along with the BelongTo field issue in one for proof (and just to ensure I'm not making any silly mistakes/misses)

Thank you!