Problem/Motivation

Warning: Undefined array key "country_selection" in Drupal\phone_number\Element\PhoneNumber->phoneNumberProcess() (line 164 of modules/contrib/phone_number/src/Element/PhoneNumber.php).

Steps to reproduce

update the module to 2.0.0-alpha6 version

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Kavya N N created an issue. See original summary.

abhishek_gupta1’s picture

StatusFileSize
new37.1 KB

@Kavya N N, Im Not able to see any changes in your MR. please check

vaish made their first commit to this issue’s fork.

vaish’s picture

Version: 2.0.0-alpha6 » 2.0.x-dev
Status: Active » Needs review

Thanks for reporting the bug. I changed the default value from NULL to 'flag' to make it consistent with the other parts of the module. @nnkavya could you please confirm this MR still resolves your issue.

  • vaish committed 6f3171cc on 2.0.x authored by Kavya N N
    Issue #3445097 by Kavya N N, vaish: Warning: Undefined array key "...
vaish’s picture

Status: Needs review » Fixed
vaish’s picture

Status: Fixed » Needs work

Commit a1dedd2c was a mistake. It introduced a schema error and needs to be reverted.

vaish changed the visibility of the branch 3445097-warning-undefined-array to hidden.

vaish changed the visibility of the branch 2.0.x to hidden.

  • vaish committed a207de34 on 2.0.x
    Issue #3445097 by vaish: Warning: Undefined array key "country_selection...
vaish’s picture

Assigned: kavya n n » Unassigned
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.