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

Bug: International phone numbers are shortened #6987

Open
respencer opened this issue May 3, 2024 · 2 comments
Open

Bug: International phone numbers are shortened #6987

respencer opened this issue May 3, 2024 · 2 comments
Assignees
Labels

Comments

@respencer
Copy link
Contributor

respencer commented May 3, 2024

Description

A clear and concise description of what the reported bug is:

  • ChurchCRM version: 5.8.0
  • PHP version the server running: 8.3.6
  • DB Server and Version the server is running: 11.3.2-MariaDB-1:11.3.2+maria~ubu2204

Steps To Reproduce

📋 Cypress Recorder Results:

cy.visit('http://localhost/v2/dashboard');
cy.xpath('/html/body/div/aside/div/nav/ul/div[1]/a/p/span[1]').click();
cy.url().should('contains', 'http://localhost/PersonEditor.php');
cy.xpath('//*[@id="Gender"]').type('1');
cy.xpath('//*[@id="Gender"]').click();
cy.xpath('//*[@id="FirstName"]').click();
cy.xpath('//*[@id="FirstName"]').type('Jam');
cy.xpath('//*[@id="LastName"]').click();
cy.xpath('//*[@id="LastName"]').type('Roll');
cy.xpath('/html/body/div/div[2]/section[2]/div/form/div[4]/div[2]/div[1]/div[1]/div/input[2]').click();
cy.xpath('/html/body/div/div[2]/section[2]/div/form/div[4]/div[2]/div[1]/div[1]/div/input[1]').type('+3587570321908');
cy.xpath('//*[@id="PersonSaveButton"]').click();
cy.url().should('contains', 'http://localhost/PersonView.php');

The phone number above is fake, but valid for Finland.

Expected behavior

The phone number should not be shortened.

Screenshots and/or logs

If applicable, please include screenshots or share logs to assist in explaining your issue.

📋 Relevant screenshots:

localhost_PersonView php_PersonID=234

📋 Logs:

None.

Debugging Steps

ℹ️ If you need help debugging, please refer to the wiki for guidance: https://github.com/ChurchCRM/CRM/wiki/Logging-and-Diagnostics.

  • What has been done to debug the issue so far?
  • Have you looked at the browser's developer tools to see if an error is thrown / network request failed?
  • Are there any associated error logs on the backend that get emitted when you attempt to do this action?

Desktop (please complete the following information):

  • OS and Version: Arch Linux (rolling release)
  • Browser (and Version): Chromium 124.0.6367.49 (Official Build) Arch Linux (64-bit) & Firefox 124.0.2 (64-bit)

Additional context

I first noticed the issue when I edited a CSV imported member. Before the edit their full phone number was displayed, after I clicked save the mangled phone number was saved (I had no been making any changes to the phone number).

@respencer respencer added the bug label May 3, 2024
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Jun 25, 2024
@respencer respencer removed the Stale label Jun 25, 2024
@respencer respencer self-assigned this Jun 25, 2024
Copy link
Contributor

github-actions bot commented Aug 9, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants