-
Notifications
You must be signed in to change notification settings - Fork 8
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
[AXON 95] Fix file attachment to jira tickets #93
[AXON 95] Fix file attachment to jira tickets #93
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind adding tests for the new util
files? Otherwise, looks good to me :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ship it! 🚢🇮🇹
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some performance enhancements.
Happy to ship "good" and then make it "better"
…ON-95-unable-to-attach-files-when-creating-a-jira-cloud
4e7a81f
I believe it's already "best" 😆 |
The root of the issue was the inability to retrieve the absolute path of the picked file from the file picker, which probably it's done for security reasons, and the subsequent attempt to read the file from a path that we don't have.
Originally, the file was read from the controller, which receives the file info from the view via post message.
After the fix, the file is read by the view before the post message, and the controller receives the file content along with the file metadata.
Tested: