Can't create telephone links with 5 digits or fewer

Created on 9 May 2023, about 1 year ago
Updated 10 May 2023, about 1 year ago

Problem/Motivation

Telephone links created with 5 digits or less throw an InvalidArgumentException when created.

Steps to reproduce

Create linky tel:123, InvalidArgumentException thrown.

Proposed resolution

Override LinkWidget::getUserEnteredStringAsUri() in custom field widget that converts tel:[0-9]{1,5} links to a format parse_url will tolerate i.e. tel:1-23.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia mcaddz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024