New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 706143 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug-Regression


Show other hotlists

Hotlists containing this issue:
Payment-Conversion


Sign in to add a comment

[Confirm] button stays greyed out when updating non-expired card on Android

Project Member Reported by szhangcs@google.com, Mar 28 2017

Issue description

Device name: Nexus 5

From "Settings > About Chrome"
Application version:57.0.2987.110 
Operating system: Android 

Steps to reproduce:
1) Open dump-truck.appspot.com in Chrome on Android.
2) Click "Address and CC (dropdown-based) on same page and come to the following page:"
https://screenshot.googleplex.com/xuWWt9QHAqP
3) Click on the Credit card number field.
4) Input the wrong CVC number:
https://screenshot.googleplex.com/VzP7OO863cS
5) Click "New card?"
6) Enter any expiration date and CVC

Expected result:
Should be able to click confirm.

Actual result:
The Confirm button stays greyed out.



 

Comment 1 by szhangcs@google.com, Mar 28 2017

Labels: -Pri-3 Pri-1
Project Member

Comment 3 by bugdroid1@chromium.org, Mar 31 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4d4693afa913c9272ba70ae0dc8b2eb387f83bce

commit 4d4693afa913c9272ba70ae0dc8b2eb387f83bce
Author: szhangcs <szhangcs@google.com>
Date: Fri Mar 31 21:58:04 2017

Always initialize this year and month

Currently, after click newCardLink for server cards,
the confirm button is always greyed. This Cl fixes this.

The bug is introduced by:

https://codereview.chromium.org/1964323002/patch/1/10001

When CardUnmaskPrompt is created. mShouldRequestExpirationDate
is false. So CalendarTask() is never executed:

https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java?l=207

After onNewCardLinkClicked(), mShouldRequestExpirationDate
is true. That's why getExpirationDateErrorType is
always returning ERROR_TYPE_NOT_ENOUGH_INFO:

https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java?l=615

We need to execute CalendarTask() from somewhere.

BUG= 706143 

Review-Url: https://codereview.chromium.org/2784663002
Cr-Commit-Position: refs/heads/master@{#461241}

[modify] https://crrev.com/4d4693afa913c9272ba70ae0dc8b2eb387f83bce/chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java

Components: -UI>Browser>Autofill>Payments UI>Browser>Payments
Project Member

Comment 5 by sheriffbot@chromium.org, Jul 21 2017

Labels: Hotlist-Google

Comment 6 by szhangcs@google.com, Jan 11 2018

Status: Fixed (was: Started)

Sign in to add a comment