Loading...
 
Skip to main content

Tracker field creation failed as special characters are omitted (and not replaced as previously)

Status
Closed
Subject
Tracker field creation failed as special characters are omitted (and not replaced as previously)
Version
18.x Regression
Category
  • Error
  • Regression
Feature
i18n (Multilingual, l10n, Babelfish)
Trackers
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist, Luis Henrique Fagundes
Rating
(0)
Description

When I create a tracker field that whose label is composed of special characters (@@@@) or using exotic language those characters are omitted. In case of multilingual (all characters are exotic) only the "Field Prefix" is used. This result is an error (no error message, it fail) to create more than one field.

Meaning if I have a prefix like "survey" and I create fields like :

שם משפחה
שם פרטי
etc...

They all will have the same permaname, "survey" and this is not possible/allowed so after the first one is created it will fail.

This is a regression as previously the permaname in such case was built up using the field id (ie: survey_f12). I created an instance and it is easy to reproduce.

1/ An error should be displayed in case of duplicate permaname (note about omitted chars)
2/ In case all the character of a label are omitted it will better to put back the id as it was on previous version

Solution
r65263
Importance
5
Easy to solve?
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6520
Created
Sunday 07 January, 2018 10:19:48 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Saturday 13 October, 2018 08:22:50 UTC


Show PHP error messages