Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obsidian Registration/Workflow Entry block not saving Country Code #6163

Open
2 tasks done
bobrufenacht opened this issue Jan 27, 2025 · 1 comment
Open
2 tasks done
Labels
Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.

Comments

@bobrufenacht
Copy link
Contributor

Description

Submitted on behalf of Church of the King. The Obsidian Registration Entry block does not save the Country Code on the phone number used in the registration. It always defaults back to "1."

Actual Behavior

The Phone Number is added to the person's record but with "1" as the country code.

Expected Behavior

I would expect the country code to be stored with the phone number.

Steps to Reproduce

  • Go to the Phone Country Code defined type and add a new country. I used South Africa code 27 with "^([6-8]{1})([0-9]{8})$" as the Match Expression and "$1 $2" as the Format Expression.
  • Create an Event Registration with First Name, Last Name and Mobile Phone
  • Create a test instance of the registration
  • Register a new person with a Mobile Phone using Country Code 27.
  • Go to the person record. The phone number is stored correctly but the country code show "1" instead of "27"

Issue Confirmation

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

Rock Version

16.8 and PreAlpha

Client Culture Setting

en-US

@sparkdevnetwork-service sparkdevnetwork-service added Type: Bug Confirmed bugs or reports that are very likely to be bugs. Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. labels Jan 27, 2025
@bobrufenacht bobrufenacht changed the title Obsidian Registration block not saving Country Code Obsidian Registration/Workflow Entry block not saving Country Code Jan 27, 2025
@bobrufenacht
Copy link
Contributor Author

bobrufenacht commented Jan 27, 2025

Clarification - Obsidian Registration does not set Country Code when creating a new person record. It will match existing Country Codes on a record. Similarly, the workflow Person From Attribute action does not set the Country Code when creating a new person but will match country code on existing people. The Workflow Enable Person Entry appears to create them correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.
Projects
None yet
Development

No branches or pull requests

2 participants