Unable to generate ticket if product has an accent in specific position

Created on 22 April 2025, 6 days ago

Problem/Motivation

If you try to generate a ticket related to one product with an accent in position 43 you are going to have an error saying incorrect string value

Steps to reproduce

  1. Create one product with the following title: "Text with an accent at position 43 like: dรก, the remaining text is not important"
  2. Register into the event and when generating the ticket the error will occur.

Proposed resolution

Change the substr function to the mb_strimwidth function

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain davidardions

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

Comments & Activities

Production build 0.71.5 2024