App: [$1000] Web - Assign task - Cancelled task shows 1 in reply even if there is not message on it.

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 the app.
  2. Create a task with someone in DM.
  3. Assign the other user in the DM to the Task.
  4. Cancel the Task.
  5. Go back to the DM.
  6. Observe the Main task message in the Chat.

Expected Result:

As there was no message in the Task report, it should not say reply 1 in the main Chat.

Actual Result:

It says reply 1 for the archived tasks.

Workaround:

Unknown

Platforms:

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

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

Version Number: 1.3.27.1

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

https://github.com/Expensify/App/assets/93399543/bebf6154-9cab-45d8-bb52-5982a96fa3f1

https://github.com/Expensify/App/assets/93399543/87601a56-2e81-4924-9834-ee44327473ca

Expensify/Expensify Issue URL:

Issue reported by: @parasharrajat

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

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016716974368a9a3ff
  • Upwork Job ID: 1668412099502555136
  • Last Price Increase: 2023-06-13

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

@parasharrajat I did follow the same steps. I see a new issue, redundant messages for the same task in the main.

https://github.com/Expensify/App/assets/85645967/ee1f7f18-6aec-48c1-8611-35b21fd5a809

The api adds childVisibleActionCount = 1 for tasks that get canceled and have no messages which makes this true and shows the reply’s footer.

I think this should be updated in the API.