View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11625Feature requestsOtherpublic2018-05-30 11:03
ReporterDeusdeorum Assigned ToDeusdeorum  
PrioritynoneSeverityfeature 
Status closedResolutionfixed 
Summary11625: allow underscore in question id
Description

Is there a particular reason why underscore is not allowed in question id's?

TagsNo tags attached.
Bug heat4
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

Deusdeorum

Deusdeorum

2016-09-06 11:01

reporter   ~40691

to allow underscore change regex to ^[a-z,A-Z][[:alnum:]]*$ in Question.php and form-control to ^[a-zA-Z][a-zA-Z0-9]*$

DenisChenu

DenisChenu

2016-09-06 11:10

developer   ~40692

This break all Expression Manager, already explain a lot what this change was made.

Deusdeorum

Deusdeorum

2016-09-06 11:23

reporter   ~40693

okey, did not know, it was included in <2.06 but then suddenly changed

tabs.php would be the form controll pattern to change to ^[a-zA-Z][a-zA-Z0-9]*$

Deusdeorum

Deusdeorum

2016-09-06 13:03

reporter   ~40695

denis, where do the EM break with these changes? couldn't trigger that.. i mean, underscore is allowed when importing questions, there's an exception for 'archiveimport'

DenisChenu

DenisChenu

2016-09-06 13:10

developer   ~40697

Question code : QCODE, sub question code : SQ
=> EM see QCODE_SQ

We disallow same question code for this reason in Question::model

There are other reason too, a lot of bug closed.

Deusdeorum

Deusdeorum

2016-09-06 13:15

reporter   ~40698

Ah, thanks for clarification!

Issue History

Date Modified Username Field Change
2016-09-06 10:59 Deusdeorum New Issue
2016-09-06 11:01 Deusdeorum Note Added: 40691
2016-09-06 11:10 DenisChenu Note Added: 40692
2016-09-06 11:23 Deusdeorum Note Added: 40693
2016-09-06 13:03 Deusdeorum Note Added: 40695
2016-09-06 13:10 DenisChenu Note Added: 40697
2016-09-06 13:15 Deusdeorum Note Added: 40698
2018-05-30 11:03 Deusdeorum Assigned To => Deusdeorum
2018-05-30 11:03 Deusdeorum Status new => closed
2018-05-30 11:03 Deusdeorum Resolution open => fixed