Skip to content

Web - "Expense Violations" tab enabled is not showing any confirmation and after refresh, disable #8744

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

Closed
kbecciv opened this issue Apr 22, 2022 · 7 comments
Assignees
Labels
Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented Apr 22, 2022

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


Action Performed:

Access staging.expensify.com
Sign into a verified account
Go to the Policy and to the "Expenses" tab
Click on the "Enable" button next to "Expense Violations"
Refresh the page

Expected Result:

The user expects to see a confirmation message that the Violations have actually been enabled or a message to refresh the page to renew the policy

Actual Result:

The user does not receive any message confirmation and after refreshing the page, the "Expense Violations" tab is disabled again

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web

Version Number: n/a

Reproducible in staging?: Yes

Reproducible in production?: Yes

Email or phone of affected tester (no customers): n/a

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

163877773-b1c1face-fb1c-4822-b074-fac5a61f50d7.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause

Slack conversation:

View all open jobs on GitHub

@melvin-bot
Copy link

melvin-bot bot commented Apr 22, 2022

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

@laurenreidexpensify laurenreidexpensify added the External Added to denote the issue can be worked on by a contributor label Apr 22, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 22, 2022

Current assignee @laurenreidexpensify is eligible for the External assigner, not assigning anyone new.

@laurenreidexpensify
Copy link
Contributor

laurenreidexpensify commented Apr 22, 2022

Joel already triaged in https://github.com/Expensify/Expensify/issues/207142

@laurenreidexpensify
Copy link
Contributor

@joelbettner's comment from there -
Oh...actually, I just tested this myself. The reason enabling expense violations on a policy isn't "sticking" is because there were no parameters added for what constitutes a violation. Thus, since there was nothing to enforce, we show the violations as turned off after the refresh. As soon as I put something in to enforce for expense violations, the violations stayed on.
image

So...now I'm not so sure if this is a bug, or a feature. @laurenreidexpensify your thoughts here on whether or not this needs to be fixed? It certainly isn't a rush and could be worked on externally. (un-assigning myself)

@laurenreidexpensify
Copy link
Contributor

@AndrewGable second pair of eyes pls - given Joel's comments above? Thanks!

@AndrewGable
Copy link
Contributor

  1. This looks like it will be an internal issue as it's OldDot
  2. Yes, I do think that there needs to be a value inputted for it to "stick"

@laurenreidexpensify
Copy link
Contributor

oh my god yesterday was not my day 🤦🏽‍♀️ 🤦🏽‍♀️ it threw me that someone from Applause had created this E/E ! Will re-open the original issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

3 participants