-
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
[HOLD for payment 2023-02-03] [$1000] [Image] The attachment PDF preview is not shown offline reported by @Santhosh-Sellavel #12512
Comments
Triggered auto assignment to @mallenexpensify ( |
This issue is reproducible for me on web (both on desktop and on mobile) even when online. |
Triggered auto assignment to @davidcardoza ( |
I'm heading OOO, reassigning. |
I was able to reproduce this. Assigning an engineer to triage - can this be worked on by an external contributor? |
Triggered auto assignment to @joelbettner ( |
Yes, I believe this can be worked on by an external contributor. |
Current assignee @davidcardoza is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @sketchydroide ( |
cc @youssef-lr I am kind of thinking that we need to have someone holistically approach all these attachment uploads cases. What do you think about us creating one central issue for all the remaining bugs and improvements we need to make? I'm happy to get it started. |
I don't think this was a regression was it? There's no real investigation to do. This has just never worked correctly offline. |
Checked off the first 3 boxes. We should create a test rail step for this though. |
Think this one is just waiting for payment + regression tests. |
payment sent to @aimane-chnaif. @marcaaron is a regression test necessary per your comment here
|
Yes, we should create a regression test even though this was not specifically caused by merging another PR. If I am understanding the BZ checklist instructions here we should. In this case, there was just no specific PR that caused and regression or additional conversation to be had. I also understand that we changed this recently so it should be responsibility of whoever fixes the issue (which was me 😅) but then BZ is supposed to create the issue to add it to test rail? Anyway, the steps would be:
|
Ya, admittedly, I have yet to run a regression test, it's a bit unclear to me when a regression test should take place or not. Getting a buddy check here - https://expensify.slack.com/archives/C01SKUP7QR0/p1675814496893819 |
A regression test was added as the previous test was pretty similar to the offline PDF case in this test case: Updated to: Offline
|
@davidcardoza reporting bonus is missed out here! |
@Santhosh-Sellavel offer sent. |
Thanks @davidcardoza Accepted! |
@kbecciv I think you tried to preview PDF which was already sent as attachment. This should be impossible scenario. How come user can see online data in offline mode before downloading? |
Yes, you are correct, I'm trying to preview PDF which was already sent as attachment. |
Doesn't this one come down to caching on web/desktop, which is being worked on elsewhere? |
I know image cache is being worked already but I don't think PDF cache is being worked anywhere. |
Right, but presumably the work we do to support image caching is going to be extended to other file types? I think @thomas-coldwell has it on his radar as a follow-up. |
I'm closing this. The original issue is solved. Not sure what issue we are now experiencing on Android, but let's create a new issue to track it with clearer repro steps. |
@marcaaron Logged a separate issue here #16694 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Should show a preview like we show image preview
Actual Result:
Failed to load error
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.24-0
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
200205740-d1d90f4b-358b-46b2-87d0-5ecdc036711e.mov
Expensify/Expensify Issue URL:
Issue reported by: @Santhosh-Sellavel
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1667782878782179
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: