Skip to content

Group Registration block saving top Phone Country Code to profile #6653

@lukequinlivan-kingdomcity

Description

Description

When entering a profile in the Group Registration block, the top Phone Country Code is saved to the profile rather than the selected country code.

Actual Behavior

If a user selects a different phone country code than the top option, that selection is not saved to their profile. Instead whatever the top value of the Phone Country Code defined value is saved to the profile.

An alternative country code is added and put at the bottom of the list of defined values:

Image

Then on a Group Registration the alternative country code is selected:

Image

After checking the profile, the top country code is saved on the profile instead of the selected country code:

Image

Expected Behavior

Selected Phone Country Code should be saved to the profile.

Steps to Reproduce

Step 1: Set up a new country code
Under "Phone Country Code" defined type add a new value with following:
Value = 61
Description = Australia
Match Expression = ^([2-5]\d{2})(\d{3})(\d{3})$
Format Expression = $1 $2 $3

Step 2: Navigate to the Connect page and select a Small Group to register
When registering ensure the alternative country code is selected:

Image

Change the profile details to ensure a new profile is made.
Use this number that follows formatting requirements for 61 numbers = 400000006

Step 3: Edit the newly created profile and scroll to contact details and check mobile number country code.

Image

Issue Confirmation

  • Perform a search on the Github Issues to see if your bug is already reported.
  • Reproduced the problem on a fresh install or on the demo site.

Rock Version

17.5

Client Culture Setting

en-AU

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in v18.3Status: ConfirmedIt's clear what the subject of the issue is about, and what the resolution should be.Type: BugConfirmed bugs or reports that are very likely to be bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions