frappe-attachments-s3 icon indicating copy to clipboard operation
frappe-attachments-s3 copied to clipboard

fix: Reload File document after S3 Upload

Open fahimalizain opened this issue 3 years ago • 0 comments

Two issues are being fixed here:

  • Not all File uploads are image_field uploads. If a File was uploaded on a Doctype with image_field specified, that do not mean that File was uploaded for the image_field
  • Reload the File document before returning so that frappe-js sets the correct file_urls in Attach & Attach Image fields

fahimalizain avatar Jun 03 '21 12:06 fahimalizain