App
App copied to clipboard
[HOLD for payment 2024-12-17] Distance - No error when editing the default rate to 4 decimal places and creating a same one
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.70-0 Reproducible in staging?: Y Reproducible in production?: N If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y Issue was found when executing this PR: https://github.com/Expensify/App/pull/53104 Email or phone of affected tester (no customers): [email protected] Issue reported by: Applause Internal Team
Action Performed:
- Go to staging.new.expensify.com
- Go offline.
- Create a new workspace.
- Go to More features > Enable Distance rates.
- Go to Distance rates.
- Click on the default rate.
- Change the rate to 1.00 and save it.
- Click Add rate.
- Try to save the same rate 1.00 and note that it shows error.
- Click on the default rate.
- Change the rate to 1.2345 (any four decimal places) and save it.
- Click Add rate.
- Create a new rate same as 1.2345 in Step 11 and save it.
Expected Result:
There should be error when saving the same distance rate.
Actual Result:
There is no error when editing the default rate to 4 decimal places and creating a new one of the same value. This issue is only reproducible in offline mode.
Workaround:
Unknown
Platforms:
- [x] Android: Standalone
- [x] Android: HybridApp
- [x] Android: mWeb Chrome
- [x] iOS: Standalone
- [x] iOS: HybridApp
- [x ] iOS: mWeb Safari
- [x] MacOS: Chrome / Safari
- [x] MacOS: Desktop
Screenshots/Videos
https://github.com/user-attachments/assets/bd595e57-90a9-4a72-b1e7-689d4eacef1e
Issue Owner
Current Issue Owner: @muttmuure
Triggered auto assignment to @MariaHCD (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
Triggered auto assignment to @muttmuure (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.
💬 A slack conversation has been started in #expensify-open-source
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
- Identify the pull request that introduced this issue and revert it.
- Find someone who can quickly fix the issue.
- Fix the issue yourself.
Production
https://github.com/user-attachments/assets/08b6f0df-23f0-4152-afa5-e4027c5a23d0
This can be a follow up improvement to https://github.com/Expensify/App/pull/53104
Not a deploy blocker since this validation was just introduced and looks to work well aside from 4 decimal places.
cc: @Krishna2323 can you take this on as a follow up to https://github.com/Expensify/App/pull/53104?
@MariaHCD, I'll handle this as a follow-up 🙂 and will likely raise the PR by the end of the day.
@DylanDylann, please review the PR ^ when you have a chance. Its a regression from https://github.com/Expensify/App/pull/53104
Reviewing label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.73-8 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
- https://github.com/Expensify/App/pull/53610
If no regressions arise, payment will be issued on 2024-12-17. :confetti_ball:
For reference, here are some details about the assignees on this issue:
- @Krishna2323 requires payment (Needs manual offer from BZ)
@MariaHCD @muttmuure @Krishna2323 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Payment Summary
Upwork Job
- ROLE: @Krishna2323 paid $(AMOUNT) via Upwork (LINK)
BugZero Checklist (@muttmuure)
- [ ] I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
- [ ] I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
- [ ] I have paid out the Upwork contracts or cancelled the ones that are incorrect
- [ ] I have verified the payment summary above is correct
@Krishna2323 please apply here: https://www.upwork.com/jobs/~021869894292678828379
$250 for @Krishna2323
@MariaHCD, @muttmuure, @Krishna2323 Whoops! This issue is 2 days overdue. Let's get this updated quick!
Please post in the open source channel in Slack when you are ready to accept the contract for this
@muttmuure Should I be eligible for compensation because I reviewed the PR
Yes you should
$250 @DylanDylann for C+
$250 @DylanDylann for C+
@muttmuure Would you mind sending me an offer? https://www.upwork.com/freelancers/~010c6310ab55f3d17d
Thanks
@muttmuure, my offer has also expired. Please send me one as well.
This can be a follow up improvement to https://github.com/Expensify/App/pull/53104
@MariaHCD, I just wanted to confirm before receiving a payment—am I eligible for payment or not? As you mentioned, this can be handled as an improvement instead of regression fix. Thanks!
This was a regression within the regression period so I do not think any payments are required for this one