App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2021-11-04] [HOLD for payment 2021-10-30] VBA - User can proceed to personal info after clearing address in company info page

Open kavimuru opened this issue 5 years ago • 22 comments

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:

  1. Go to https://staging.new.expensify.com
  2. Log in with expensifail account
  3. Go to Workspace and Click on Connect Bank account
  4. Log in with Chase credentials
  5. In the company info page select any autofill address and clear the address
  6. Fill in rest of the fields and hit save and continue

Expected Result:

Error message appears for missing address in Company address

Actual Result:

User can proceed to personal info page

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.0.8-0 Reproducible in staging?: Yes Reproducible in production?: No credentials to check Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos:

https://user-images.githubusercontent.com/43996225/137609842-72529700-c418-4125-9465-de58b95831f3.mp4

Expensify/Expensify Issue URL: Issue reported by: Applause Slack conversation:

View all open jobs on GitHub

kavimuru avatar Oct 17 '21 03:10 kavimuru

: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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

OSBotify avatar Oct 17 '21 03:10 OSBotify

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

MelvinBot avatar Oct 17 '21 03:10 MelvinBot

I tried to look at this issue but it seems the Google Places cannot be accessed from localhost. Gives a cross-origin error.

akshayasalvi avatar Oct 18 '21 14:10 akshayasalvi

Looking into this now

stitesExpensify avatar Oct 18 '21 19:10 stitesExpensify

@stitesExpensify ~~the address is not validated in this below method~~ ~~We can add address validation using this.getFormattedAddressValue() != '' and show appropriate errors.~~

Validated.

Santhosh-Sellavel avatar Oct 18 '21 20:10 Santhosh-Sellavel

I'm wondering if this change broke it https://github.com/Expensify/App/commit/7fa7ab75098525a80f069eceab6affd1bc5cad7e#diff-40ada854d0b6039d4db7da6cede12f7be0cf7d113cc16c8cbc638af4bd0121d4R186 all other fields are set with a keyword, this one is not anymore

stitesExpensify avatar Oct 18 '21 21:10 stitesExpensify

Proposal

https://github.com/Expensify/App/blob/dd9e492ab67710848c9343fc6a47867f2fedd00f/src/components/AddressSearch.js#L105-L110 Along lines above need pass, onChangeText: () => saveLocationDetails({}),

We are not detecting textInput changes and updating state. @stitesExpensify

Fixed:

https://user-images.githubusercontent.com/85645967/137807622-bcd93eab-86d0-4cbd-b99b-60868f4bfd5b.mp4

Santhosh-Sellavel avatar Oct 18 '21 21:10 Santhosh-Sellavel

Nice! Seems like a good solution to me

stitesExpensify avatar Oct 18 '21 21:10 stitesExpensify

Can I submit a PR @stitesExpensify

Santhosh-Sellavel avatar Oct 18 '21 21:10 Santhosh-Sellavel

Hold on for now, I don't know what our process is when someone who is not the author wants to fix a deploy blocker. Checking internally...

stitesExpensify avatar Oct 19 '21 01:10 stitesExpensify

Hey @Santhosh-Sellavel I'm going to make this external and get you hired for your solution

stitesExpensify avatar Oct 19 '21 18:10 stitesExpensify

Triggered auto assignment to @NicMendonca (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

MelvinBot avatar Oct 19 '21 18:10 MelvinBot

@stitesExpensify Let me know when I can start PR. Thanks!

Santhosh-Sellavel avatar Oct 19 '21 18:10 Santhosh-Sellavel

Upwork job: https://www.upwork.com/jobs/~01f52496616abc0a16

NicMendonca avatar Oct 19 '21 19:10 NicMendonca

@Santhosh-Sellavel go ahead an apply, then when you are accepted you can make your pR

stitesExpensify avatar Oct 19 '21 19:10 stitesExpensify

Applied for the job @NicMendonca

Santhosh-Sellavel avatar Oct 19 '21 20:10 Santhosh-Sellavel

@Santhosh-Sellavel hired!

NicMendonca avatar Oct 19 '21 20:10 NicMendonca

@stitesExpensify Assign me this one!

Santhosh-Sellavel avatar Oct 21 '21 20:10 Santhosh-Sellavel

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.8-9 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/5954

If no regressions arise, payment will be issued on 2021-10-30. :confetti_ball:

botify avatar Oct 23 '21 00:10 botify

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.10-2 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/5954

If no regressions arise, payment will be issued on 2021-11-04. :confetti_ball:

botify avatar Oct 28 '21 20:10 botify