-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$250] Editing a message with an image attached before image loading completed never loads the attachments #42300
Comments
Triggered auto assignment to @twisterdotcom ( |
Job added to Upwork: https://www.upwork.com/jobs/~01737e481166a622be |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 ( |
Waiting for proposals |
ProposalPlease re-state the problem that we are trying to solve in this issue.Editing a message with an image attached before image loading completed never loads the attachments What is the root cause of that problem?In the network tab we can see that the AddTextAndAttachement endpoint returns 200 but after the UpdateComment is called the returned data to merge with onyx does not contain the html with . This seems to be a backend thing. The call to UpdateComment seems to erase the uploaded file if it is not done uploading. Screen.Recording.2024-05-18.at.14.30.03.mp4What changes do you think we should make in order to solve the problem?There are a few options:
What alternative solutions did you explore? (Optional)This could alternatively be prevented on the backend. |
Thanks for your proposal @beodw |
@hungvu193 This cannot be fixed in the back-end because the back-end won't be able to know if the ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?When we edit the message, we will send
as HTML to the back-end, so the back-end assumes that we want to change the text as such and updates the comment to
Without considering that the What changes do you think we should make in order to solve the problem?When we receives the response from the back-end of
Another optional improvement is we can make the The above changes will make sure the sequence of commands we send to the back-end in this case is the same as when the user edits the comment after the image is completely uploaded and shown (in this case the
content) What alternative solutions did you explore? (Optional)NA |
@dominictb when we are uploading an attachment the form payload has a binary file included which is one way the backend may differentiate it from updating the command to update a request. @hungvu193 thoughts on this? |
There's an on going discussion here, I'm gonna wait for it. |
This issue has not been updated in over 15 days. @twisterdotcom, @hungvu193 eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Still holding |
@twisterdotcom, @hungvu193, this Monthly task hasn't been acted upon in 6 weeks; closing. If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead. |
@twisterdotcom The discussion this issue was held on was done a long time ago, could you help reopen the issue and add Thanks |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@twisterdotcom, @hungvu193 Huh... This is 4 days overdue. Who can take care of this? |
On it today. |
With new UI, I don't think we can reproduce this issue: Screen.Recording.2024-10-01.at.11.09.47.movFeel free to close @twisterdotcom |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.74-4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @jliexpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1715827355076719
Action Performed:
Expected Result:
Image attachment is loaded
Actual Results:
Image never uploads, and instead shows uploading attachment
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Recording.74.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hungvu193The text was updated successfully, but these errors were encountered: