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

[HOLD https://github.com/Expensify/App/pull/24137] Assign task - We are able to open archived chat's description via deeplink #24661

Closed
1 of 6 tasks
lanitochka17 opened this issue Aug 16, 2023 · 22 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Aug 16, 2023

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:

  1. Open website
  2. Click on plus icon > Assign task > Type something to title and click on btn > Choose assigners > Click on confirm task btn > After opening the chat for it , Click on Description and copy the deeplink
  3. Cancel the task and paste the URL and open it

Expected Result:

We should not be able to open archived chat's description via deeplink

Actual Result:

We are able to open archived chat's description via deeplink

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • Windows / Chrome
  • MacOS / Desktop

Version Number: 1.3.54.11

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Notes/Photos/Videos: Any additional supporting documentation

screen-capture.94.webm
Recording.5877.1.mp4

Expensify/Expensify Issue URL:

Issue reported by: @MahmudjonToraqulov

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691402788238729

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ee1805503af10326
  • Upwork Job ID: 1692557939712176128
  • Last Price Increase: 2023-08-18
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 16, 2023

Triggered auto assignment to @CortneyOfstad (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Aug 16, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@Nodebrute
Copy link
Contributor

Nodebrute commented Aug 16, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

Assign task - We are able to open archived chat's description via deeplink

What is the root cause of that problem?

We are not stopping user from accessing title,description pages when task is cancelled.

What changes do you think we should make in order to solve the problem?

We can use FullPageNotFoundView and we can add a check ReportUtils.isCanceledTaskReport. This solution can be applied to the description page, title page, or any other page where this bug occurs.

What alternative solutions did you explore? (Optional)

@alphaboss1104
Copy link
Contributor

This is BE issue. When we cancel the task BE returns the correct report's statusNum(2). But if we copy the deeplink and open it, the BE returns wrong report's statusNum(0).
image

@CortneyOfstad
Copy link
Contributor

Thanks @alphaboss1104! Getting eyes on this now 👍

@CortneyOfstad CortneyOfstad added the Internal Requires API changes or must be handled by Expensify staff label Aug 18, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 18, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01ee1805503af10326

@melvin-bot
Copy link

melvin-bot bot commented Aug 18, 2023

Triggered auto assignment to Contributor Plus for review of internal employee PR - @Santhosh-Sellavel (Internal)

@melvin-bot
Copy link

melvin-bot bot commented Aug 18, 2023

Triggered auto assignment to @aldo-expensify (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@CortneyOfstad
Copy link
Contributor

@aldo-expensify Does this seem like a BE issue? Just wanted confirmation — TIA!

@melvin-bot melvin-bot bot removed the Overdue label Aug 21, 2023
@aldo-expensify
Copy link
Contributor

Maybe, I'll try to look into it later during the day

@aldo-expensify
Copy link
Contributor

aldo-expensify commented Aug 21, 2023

cc @thienlnam

I think this PR made the backend stop changing the state/status of the report. Maybe the frontend needs to be updated accordingly. Waiting on Jack to confirm.

@aldo-expensify
Copy link
Contributor

Ahh, @thienlnam seems to be working on this at the moment here: #24137
I'm guessing we should HOLD until that is done or close this

@aldo-expensify aldo-expensify changed the title Assign task - We are able to open archived chat's description via deeplink [HOLD https://github.com/Expensify/App/pull/24137] Assign task - We are able to open archived chat's description via deeplink Aug 21, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 24, 2023
@CortneyOfstad
Copy link
Contributor

On hold — so not overdue 👍

Going to set this as weekly

@melvin-bot melvin-bot bot removed the Overdue label Aug 24, 2023
@CortneyOfstad CortneyOfstad added Weekly KSv2 and removed Daily KSv2 labels Aug 24, 2023
@CortneyOfstad
Copy link
Contributor

Still on-hold 👍

@CortneyOfstad
Copy link
Contributor

@aldo-expensify Just checking to see if thee is an update — TIA!

@aldo-expensify
Copy link
Contributor

#24137 is still a draft
@thienlnam that is still on progress right? or did we decide to go some other direction?

@thienlnam
Copy link
Contributor

Still in progress - haven't had time to prioritize

@melvin-bot melvin-bot bot added the Overdue label Sep 18, 2023
@Santhosh-Sellavel
Copy link
Collaborator

on Hold

@melvin-bot melvin-bot bot removed the Overdue label Sep 18, 2023
@thienlnam
Copy link
Contributor

Merged, we can try to see if this is still a problem on main

@melvin-bot melvin-bot bot added the Overdue label Sep 27, 2023
@aldo-expensify
Copy link
Contributor

If we try to access the description using the link, we see now the not found message "Hmm... It's not here"

image

I guess this is fixed now?

@melvin-bot melvin-bot bot removed the Overdue label Sep 27, 2023
@thienlnam
Copy link
Contributor

Yup that looks correct

@aldo-expensify
Copy link
Contributor

Thanks @thienlnam , closing then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants