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

Unable to open a specific report and does not throw error message #51300

Open
1 of 8 tasks
m-natarajan opened this issue Oct 22, 2024 · 5 comments
Open
1 of 8 tasks

Unable to open a specific report and does not throw error message #51300

m-natarajan opened this issue Oct 22, 2024 · 5 comments
Assignees
Labels
AutoAssignerNewDotQuality Used to assign quality issues to engineers Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Needs Reproduction Reproducible steps needed Reviewing Has a PR in review

Comments

@m-natarajan
Copy link

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @quinthar
Slack conversation: https://expensify.slack.com/archives/C05LX9D6E07/p1729615726778939

Action Performed:

  1. Open a report from the LHN

Expected Result:

If the report is existing, should be able to access the report

Actual Result:

  • Non existing report appears in the LHN and unable to open
  • When opening a non existing chat showing skeleton loading instead of error message

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

@m-natarajan m-natarajan added Daily KSv2 Needs Reproduction Reproducible steps needed Bug Something is broken. Auto assigns a BugZero manager. AutoAssignerNewDotQuality Used to assign quality issues to engineers labels Oct 22, 2024
Copy link

melvin-bot bot commented Oct 22, 2024

Triggered auto assignment to @MonilBhavsar (AutoAssignerNewDotQuality)

Copy link

melvin-bot bot commented Oct 22, 2024

Triggered auto assignment to @trjExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Oct 22, 2024
@MelvinBot
Copy link

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

@trjExpensify
Copy link
Contributor

Looking at the logs here to see if anything stands out.

[104.28.153.7->/api.php] Malformed REQUEST: 'parentReportActionID', ignoring (should match '\d{1,20}') ~~ value: '-1'
API threw ExpError Expensify\Libs\Error\ExpError - 80fc67d1-725e-4bfb-b49e-dba3df6bbf33 ~~ onyxData: '[0: '[onyxMethod: 'merge' key: 'report_2858535446256268' value: '[errorFields: '[createChat: '[1729630131099668: 'Report no longer exists']']']']']' exceptionJsonCode: '404' exceptionUserMessage: 'Report no longer exists' exceptionMessage: 'Report no longer exists' exceptionFile: '/git/releases/expensify.com/47ee83e/lib/ReportStore.php' exceptionLine: '550' exceptionCode: '666'

It's interesting this seemingly mismatch of reportIDs:

image
Processing 'OpenReport' for 'expensify.com' from '104.28.153.7' ~~ command: 'OpenReport' reportID: '2858535446256268' reportActionID: '' emailList: '' accountIDList: '' clientLastReadTime: '2024-10-16 22:21:50.171' pusherSocketID: '791049.1211201' authToken: '<REDACTED>' referer: 'ecash' platform: 'web' api_setCookie: 'false' email: '[email protected]' isFromDevEnv: 'false' appversion: '9.0.52-2' clientUpdateID: '2531873998' partnerName: 'expensify.com' browserGUID: '67180fb30f92e' HTTP_CF_BOT_SCORE: '99' HTTP_CF_JA3_HASH: '550518ce2834286070c227fa8bc8c9d9'
Auth - AuthRequest #2 ~~ command: 'OpenReport' jsonCode: '200' size: '128,822' duration: '29ms' host: 'db2.sjc' reportID: '2858535446256268'
Auth - Call OpenReport return 200
ReportAPI - Done calling Auth::openReport ~~ didShareReport: ''
Bedrock\Client - Starting a request ~~ command: 'Get' clusterName: 'auth' headers: '[reportIDList: '7089130114720380' authToken: '<REDACTED>' returnValueList: 'reportListBeta,transactionList,reportActionList,reportNameValuePairs,sharedReportList' idempotent: '1' logParam: '[email protected]' urlToNewDot: 'https://staging.new.expensify.com/' shouldReadUsingThreads: '' shouldHandleOnyxUpdates: '1' isNewDotRequest: '1' clientUpdateID: '2531873998' maxNumberOfUpdates: '500' requestID: '8d6c59bedcbec505-SEA' lastIP: '104.28.153.7' writeConsistency: 'ASYNC' priority: '500' timeout: '110000']'

In the meantime, I've asked in thread what workspace this report is on as well, to see if it has isPolicyExpenseChatEnabled===true set and a workspace chat for this expense report (which might explain the lack of parentReportActionID).

@MonilBhavsar
Copy link
Contributor

Submitted PR for review!
@trjExpensify you're assigned as a reviewer 😄

@MonilBhavsar MonilBhavsar added the Reviewing Has a PR in review label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AutoAssignerNewDotQuality Used to assign quality issues to engineers Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Needs Reproduction Reproducible steps needed Reviewing Has a PR in review
Projects
Development

No branches or pull requests

4 participants