[Currency] Workspace - After changing workspace currency, approving, then unapproving an expense the amount updates not the currency
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: 9.0.5-2 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Action Performed:
- Navigate to staging.new.expensify.com
- Create a workspace and enable work flows and enable approvals
- Submit an expense in the workspace chat
- Go to workspace settings and change the currency
- Go to workspace chat and open the submitted expense report
- Click on the approve button on the header and observe the system message
- Click on down arrow to the right of the title then click
Unapprove
Expected Result:
Both the currency and the amount get updated to the correct one
Actual Result:
The amount gets updated to reflect the correct amount after conversion, but the currency still remains the same
Workaround:
Unnown
Platforms:
Which of our officially supported platforms is this issue occurring on?
- [ ] Android: Native
- [ ] Android: mWeb Chrome
- [ ] iOS: Native
- [ ] iOS: mWeb Safari
- [x] MacOS: Chrome / Safari
- [ ] MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/78819774/686e0a36-0c9e-46e5-b361-bfc31e162676
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~019897b64867377d98
- Upwork Job ID: 1813371632470305179
- Last Price Increase: 2024-10-16
Issue Owner
Current Issue Owner: @mallenexpensify
Triggered auto assignment to @mallenexpensify (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.
@mallenexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
We think that this bug might be related to #vip-vsp
Before the bug shows, this happens which I'm unsure about. The approved says ETB and the unapproved shows Br.
Earlier in the vid it shows ETB - Br as the default currency. Need to figure out why it's showing like this and if they're considered the same.
App crashed on me when I tried to repro, posted about here
- https://github.com/Expensify/App/issues/44410#issuecomment-2215861787
@mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
@mallenexpensify Still overdue 6 days?! Let's take care of this!
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989
Job added to Upwork: https://www.upwork.com/jobs/~019897b64867377d98
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 (External)
@hungvu193 can you attempt reproduction? I don't think I was able to.
https://github.com/user-attachments/assets/1f1d39da-04c5-4731-aad1-cb42e7206339
@mallenexpensify Same here. @lanitochka17 can you still reproduce this one?
I threw retest-weekly, if QA isn't able to repro we'll close.
@hungvu193 @mallenexpensify this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
Issue still reproducible when unapproving but when approving issue does not get reproducible.
https://github.com/user-attachments/assets/8628a2c7-2666-46dc-aadc-921ba46c94b4
@hungvu193 can you please test based on the vid above? It looks like I was able to repro
Assuming you are, I'll update the steps in OP then open this up for proposals
Sure I'll give it a try today
Ok, I can reproduce this one
I think this is BE issue, API returned wrong amount after being unapproved
@hungvu193 can you add π to assign an internal engineer to confirm it's backend? Thx
Sure.
π π π
Triggered auto assignment to @puneetlath, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
@puneetlath @hungvu193 @mallenexpensify this issue is now 4 weeks old, please consider:
- Finding a contributor to fix the bug
- Closing the issue if BZ has been unable to add the issue to a VIP or Wave project
- If you have any questions, don't hesitate to start a discussion in #expensify-open-source
Thanks!
Not overdue, this is BE issue
I agree it's a back-end issue. Added the hot-picks label and assigned to wave-collect.
Unapprove is built in #wave-control, moving. CC: @Beamanator @garrettmknight
Issue is reproducible during KI retests.
https://github.com/user-attachments/assets/87e039c2-888f-4676-b3e3-ebe82b10065a
I'm happy to take this on, but it would be great if we could clean this issue up a little bit π
- The issue title still mentions
approvingbut we're mainly talking about unapproving now, right? - Do we have super reproducible steps? We still have the label
Needs Reproductionso that makes me think that we don't yet?
@Beamanator, @hungvu193, @mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!
Gotcha @Beamanator , title and OP updated. it was just this that needed to be added at the end of the steps
- Click on down arrow to the right of the title then click
Unapprove
I was able to reproduce just now