View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13002 | Bug reports | Plugins | public | 2017-12-09 21:57 | 2017-12-13 08:03 |
Reporter | asshank | Assigned To | DenisChenu | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | no change required | ||
Product Version | 2.7x.x | ||||
Summary | 13002: beforeQuestionRender mandatory text not set | ||||
Description | The beforeQuestionRender event can't manage the mandatory text (QUESTION_MANDATORY). This should be (imho) | ||||
Steps To Reproduce | Make use of this event | ||||
Additional Information | bug is applicable up to the latest lime 3 | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 171207 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | - | ||||
Database type & version | - | ||||
Server OS (if known) | - | ||||
Webserver software & version (if known) | - | ||||
PHP Version | - | ||||
I now think this 'QUESTION_MANDATORY' is obsolete and replaced by 'QUESTION_MAN_MESSAGE' |
|
$aReplacement['QUESTION_MANDATORY'] = $event->get('mandatory',$aReplacement['QUESTION_MANDATORY']); is : If $event->get('mandatory') is null then : take $aReplacement['QUESTION_MANDATORY']. If you put $event->set('mandatory',"") : it's OK in 2.72 for example. |
|
Be more clear : in 2.50 and up |
|
For translation , it's more easy in 3.0, but not really complex in 2.7X too 1: add the translation : https://framagit.org/SondagePro-LimeSurvey-plugin/smtpByUser/blob/master/smtpByUser.php#L127 |
|
Tnx Denis.. I will look into this. |
|
Yes : the string in your plugin : I hope to find time to allow it via DB too … |
|
gT : limesurvey translation |
|
Can we close this one ? |
|
yep, Let's see what 3.0 brings! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-12-09 21:57 | asshank | New Issue | |
2017-12-10 12:37 | asshank | Note Added: 45273 | |
2017-12-11 15:54 | DenisChenu | Note Added: 45275 | |
2017-12-11 16:33 | DenisChenu | Note Added: 45279 | |
2017-12-11 16:33 | DenisChenu | Note View State: 45279: public | |
2017-12-11 16:46 | DenisChenu | Note Added: 45281 | |
2017-12-11 16:53 | asshank | Note Added: 45282 | |
2017-12-11 18:08 | DenisChenu | Note Added: 45283 | |
2017-12-11 19:18 | DenisChenu | Note Added: 45285 | |
2017-12-12 18:19 | DenisChenu | Note Added: 45289 | |
2017-12-12 18:23 | asshank | Note Added: 45290 | |
2017-12-13 08:03 | DenisChenu | Assigned To | => DenisChenu |
2017-12-13 08:03 | DenisChenu | Status | new => closed |
2017-12-13 08:03 | DenisChenu | Resolution | open => no change required |