Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Reload File document after S3 Upload #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fahimalizain
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant