Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
17309Bug reportsSurvey takingpublic2021-07-12 11:53
ReporterMazi Assigned Togabrieljenik  
PrioritynoneSeverityblock 
Status closedResolutionfixed 
Product Version4.5.x 
Summary17309: Date question always shows error when using AR language - can't proceed at survey
Description

When using AR language and entering a date, the validation fails. Limesurvey always complains about an invalid date format and the user can't proceed within the survey.

The problem exists at latest 3.x AND 4.x

Steps To Reproduce

You can test at https://demo.limesurvey.org/index.php?r=survey/index&sid=978215&newtest=Y&lang=ar

Alternarively, import the attached 3.x test survey, run it with AR language and file a date. Then try to submit -> it fails, the date entered is not validated correctly.

TagsNo tags attached.
Attached Files
limesurvey_survey_978215-AR-Date-Format.lss (20,051 bytes)   
<?xml version="1.0" encoding="UTF-8"?>
<document>
 <LimeSurveyDocType>Survey</LimeSurveyDocType>
 <DBVersion>365</DBVersion>
 <languages>
  <language>ar</language>
  <language>en</language>
 </languages>
 <groups>
  <fields>
   <fieldname>gid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>group_name</fieldname>
   <fieldname>group_order</fieldname>
   <fieldname>description</fieldname>
   <fieldname>language</fieldname>
   <fieldname>randomization_group</fieldname>
   <fieldname>grelevance</fieldname>
  </fields>
  <rows>
   <row>
    <gid><![CDATA[747]]></gid>
    <sid><![CDATA[978215]]></sid>
    <group_name><![CDATA[My first question group]]></group_name>
    <group_order><![CDATA[1]]></group_order>
    <description/>
    <language><![CDATA[en]]></language>
    <randomization_group/>
    <grelevance><![CDATA[1]]></grelevance>
   </row>
   <row>
    <gid><![CDATA[747]]></gid>
    <sid><![CDATA[978215]]></sid>
    <group_name><![CDATA[My first question group]]></group_name>
    <group_order><![CDATA[1]]></group_order>
    <description/>
    <language><![CDATA[ar]]></language>
    <randomization_group/>
    <grelevance><![CDATA[1]]></grelevance>
   </row>
  </rows>
 </groups>
 <questions>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>parent_qid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>type</fieldname>
   <fieldname>title</fieldname>
   <fieldname>question</fieldname>
   <fieldname>preg</fieldname>
   <fieldname>help</fieldname>
   <fieldname>other</fieldname>
   <fieldname>mandatory</fieldname>
   <fieldname>question_order</fieldname>
   <fieldname>language</fieldname>
   <fieldname>scale_id</fieldname>
   <fieldname>same_default</fieldname>
   <fieldname>relevance</fieldname>
   <fieldname>modulename</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[28022]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[978215]]></sid>
    <gid><![CDATA[747]]></gid>
    <type><![CDATA[D]]></type>
    <title><![CDATA[Q00]]></title>
    <question><![CDATA[A first example question. Please answer this question:]]></question>
    <preg/>
    <help><![CDATA[This is a question help text.]]></help>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[1]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[28022]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[978215]]></sid>
    <gid><![CDATA[747]]></gid>
    <type><![CDATA[D]]></type>
    <title><![CDATA[Q00]]></title>
    <question><![CDATA[A first example question. Please answer this question:]]></question>
    <preg/>
    <help><![CDATA[This is a question help text.]]></help>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[1]]></question_order>
    <language><![CDATA[ar]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
   </row>
  </rows>
 </questions>
 <surveys>
  <fields>
   <fieldname>sid</fieldname>
   <fieldname>admin</fieldname>
   <fieldname>expires</fieldname>
   <fieldname>startdate</fieldname>
   <fieldname>adminemail</fieldname>
   <fieldname>anonymized</fieldname>
   <fieldname>faxto</fieldname>
   <fieldname>format</fieldname>
   <fieldname>savetimings</fieldname>
   <fieldname>template</fieldname>
   <fieldname>language</fieldname>
   <fieldname>additional_languages</fieldname>
   <fieldname>datestamp</fieldname>
   <fieldname>usecookie</fieldname>
   <fieldname>allowregister</fieldname>
   <fieldname>allowsave</fieldname>
   <fieldname>autonumber_start</fieldname>
   <fieldname>autoredirect</fieldname>
   <fieldname>allowprev</fieldname>
   <fieldname>printanswers</fieldname>
   <fieldname>ipaddr</fieldname>
   <fieldname>refurl</fieldname>
   <fieldname>publicstatistics</fieldname>
   <fieldname>publicgraphs</fieldname>
   <fieldname>listpublic</fieldname>
   <fieldname>htmlemail</fieldname>
   <fieldname>sendconfirmation</fieldname>
   <fieldname>tokenanswerspersistence</fieldname>
   <fieldname>assessments</fieldname>
   <fieldname>usecaptcha</fieldname>
   <fieldname>usetokens</fieldname>
   <fieldname>bounce_email</fieldname>
   <fieldname>attributedescriptions</fieldname>
   <fieldname>emailresponseto</fieldname>
   <fieldname>emailnotificationto</fieldname>
   <fieldname>tokenlength</fieldname>
   <fieldname>showxquestions</fieldname>
   <fieldname>showgroupinfo</fieldname>
   <fieldname>shownoanswer</fieldname>
   <fieldname>showqnumcode</fieldname>
   <fieldname>bouncetime</fieldname>
   <fieldname>bounceprocessing</fieldname>
   <fieldname>bounceaccounttype</fieldname>
   <fieldname>bounceaccounthost</fieldname>
   <fieldname>bounceaccountpass</fieldname>
   <fieldname>bounceaccountencryption</fieldname>
   <fieldname>bounceaccountuser</fieldname>
   <fieldname>showwelcome</fieldname>
   <fieldname>showprogress</fieldname>
   <fieldname>questionindex</fieldname>
   <fieldname>navigationdelay</fieldname>
   <fieldname>nokeyboard</fieldname>
   <fieldname>alloweditaftercompletion</fieldname>
   <fieldname>googleanalyticsstyle</fieldname>
   <fieldname>googleanalyticsapikey</fieldname>
   <fieldname>gsid</fieldname>
   <fieldname>showsurveypolicynotice</fieldname>
  </fields>
  <rows>
   <row>
    <sid><![CDATA[978215]]></sid>
    <admin><![CDATA[Marcel Minke]]></admin>
    <adminemail><![CDATA[marcel.minke@survey-consulting.com]]></adminemail>
    <anonymized><![CDATA[N]]></anonymized>
    <faxto/>
    <format><![CDATA[G]]></format>
    <savetimings><![CDATA[N]]></savetimings>
    <template><![CDATA[biavl]]></template>
    <language><![CDATA[en]]></language>
    <additional_languages><![CDATA[ar]]></additional_languages>
    <datestamp><![CDATA[Y]]></datestamp>
    <usecookie><![CDATA[N]]></usecookie>
    <allowregister><![CDATA[N]]></allowregister>
    <allowsave><![CDATA[Y]]></allowsave>
    <autonumber_start><![CDATA[0]]></autonumber_start>
    <autoredirect><![CDATA[N]]></autoredirect>
    <allowprev><![CDATA[N]]></allowprev>
    <printanswers><![CDATA[N]]></printanswers>
    <ipaddr><![CDATA[N]]></ipaddr>
    <refurl><![CDATA[N]]></refurl>
    <publicstatistics><![CDATA[N]]></publicstatistics>
    <publicgraphs><![CDATA[N]]></publicgraphs>
    <listpublic><![CDATA[N]]></listpublic>
    <htmlemail><![CDATA[Y]]></htmlemail>
    <sendconfirmation><![CDATA[Y]]></sendconfirmation>
    <tokenanswerspersistence><![CDATA[N]]></tokenanswerspersistence>
    <assessments><![CDATA[N]]></assessments>
    <usecaptcha><![CDATA[N]]></usecaptcha>
    <usetokens><![CDATA[N]]></usetokens>
    <bounce_email><![CDATA[marcel.minke@survey-consulting.com]]></bounce_email>
    <emailresponseto/>
    <emailnotificationto/>
    <tokenlength><![CDATA[15]]></tokenlength>
    <showxquestions><![CDATA[Y]]></showxquestions>
    <showgroupinfo><![CDATA[B]]></showgroupinfo>
    <shownoanswer><![CDATA[N]]></shownoanswer>
    <showqnumcode><![CDATA[X]]></showqnumcode>
    <bounceprocessing><![CDATA[N]]></bounceprocessing>
    <showwelcome><![CDATA[Y]]></showwelcome>
    <showprogress><![CDATA[Y]]></showprogress>
    <questionindex><![CDATA[0]]></questionindex>
    <navigationdelay><![CDATA[0]]></navigationdelay>
    <nokeyboard><![CDATA[N]]></nokeyboard>
    <alloweditaftercompletion><![CDATA[N]]></alloweditaftercompletion>
    <gsid><![CDATA[1]]></gsid>
    <showsurveypolicynotice><![CDATA[0]]></showsurveypolicynotice>
   </row>
  </rows>
 </surveys>
 <surveys_languagesettings>
  <fields>
   <fieldname>surveyls_survey_id</fieldname>
   <fieldname>surveyls_language</fieldname>
   <fieldname>surveyls_title</fieldname>
   <fieldname>surveyls_description</fieldname>
   <fieldname>surveyls_welcometext</fieldname>
   <fieldname>surveyls_endtext</fieldname>
   <fieldname>surveyls_url</fieldname>
   <fieldname>surveyls_urldescription</fieldname>
   <fieldname>surveyls_email_invite_subj</fieldname>
   <fieldname>surveyls_email_invite</fieldname>
   <fieldname>surveyls_email_remind_subj</fieldname>
   <fieldname>surveyls_email_remind</fieldname>
   <fieldname>surveyls_email_register_subj</fieldname>
   <fieldname>surveyls_email_register</fieldname>
   <fieldname>surveyls_email_confirm_subj</fieldname>
   <fieldname>surveyls_email_confirm</fieldname>
   <fieldname>surveyls_dateformat</fieldname>
   <fieldname>surveyls_attributecaptions</fieldname>
   <fieldname>email_admin_notification_subj</fieldname>
   <fieldname>email_admin_notification</fieldname>
   <fieldname>email_admin_responses_subj</fieldname>
   <fieldname>email_admin_responses</fieldname>
   <fieldname>surveyls_numberformat</fieldname>
   <fieldname>attachments</fieldname>
   <fieldname>surveyls_policy_notice</fieldname>
   <fieldname>surveyls_policy_error</fieldname>
   <fieldname>surveyls_policy_notice_label</fieldname>
  </fields>
  <rows>
   <row>
    <surveyls_survey_id><![CDATA[978215]]></surveyls_survey_id>
    <surveyls_language><![CDATA[ar]]></surveyls_language>
    <surveyls_title/>
    <surveyls_url/>
    <surveyls_email_invite_subj><![CDATA[دعوة للمشاركة في استبيان]]></surveyls_email_invite_subj>
    <surveyls_email_invite><![CDATA[عزيزنا {FIRSTNAME},<br />
<br />
لقد تمت دعوتك للمشاركة في استبيان(استطلاع).<br />
<br />
عنوان الاستبيان هو:<br />
"{SURVEYNAME}"<br />
<br />
"{SURVEYDESCRIPTION}"<br />
<br />
لكي تشارك اضغط على الرابط أدناه.<br />
<br />
أطيب التحيات,<br />
<br />
{ADMINNAME} ({ADMINEMAIL})<br />
<br />
----------------------------------------------<br />
اضغط هنا لتشارك في الاستبيان:<br />
{SURVEYURL}<br />
<br />
لو انك لا تريد المشاركة في هذا الاستبيان و لا تريد ان تستقبل المزيد من الدعوات اضغط علي العنوان الاتي: <br />
{OPTOUTURL}<br />
<br />
إذا كان غير مسموح لك بالمشاركة في هذا الإستبيان وتريد أن تتلقى دعوة للمشاركة فيه نرجوا منك اتباع الرابط التالي :<br />
{اختياري}]]></surveyls_email_invite>
    <surveyls_email_remind_subj><![CDATA[تذكير بالمشاركة في الاستبيان]]></surveyls_email_remind_subj>
    <surveyls_email_remind><![CDATA[عزيزنا" الاسم الأول"، /n/nلقد دعوناك مؤخرا للمشاركة في استبيان./n/nلاحظنا أنك لم تكمل الاستبيان حتى الآن، ونتمنى أن نذكرك بأن الاستبيان ما زال متاحاهل ترغب في المشاركة./n/nعنوان الاستبيان:/n" اسم الاستبيان" /n/n/" وصف الاستبيان"/ /n/nللمشاركة، من فضلك اضغط على الرابط الموجود بالأسفل./n/nالمخلص،/n/nاسم المدير" " بريده الإلكتروني"/n/n----------------------------------------------<br />
اضغط هنا لتعمل استبيانا:/n" عنوان صفحة الويب الخاص بالاستبيان"<br />
<br />
لو انك لا تريد المشاركة في هذا الاستبيان و لا تريد ان تستقبل المزيد من الدعوات اضغط علي العنوان الاتي: <br />
{OPTOUTURL}]]></surveyls_email_remind>
    <surveyls_email_register_subj><![CDATA[تأكيد تسجيل الاستبيان]]></surveyls_email_register_subj>
    <surveyls_email_register><![CDATA[عزيزي {FIRSTNAME},<br />
<br />
لقد قمت، أو قام شخص بإستخدام بريدك الإليكتروني لتسجيلك للمشاركة في الإستبيان  {SURVEYNAME}.<br />
<br />
لإكمال الإستبيان، انقر على هذا الرابط:<br />
<br />
{SURVEYURL}<br />
<br />
إن كان لديك اي تساؤل حول هذه الإستبيان او إذا لم تطلب التسجيل، يمكنك الإتصال ب {ADMINNAME} على هذا العنوان {ADMINEMAIL}.]]></surveyls_email_register>
    <surveyls_email_confirm_subj><![CDATA[تأكيد مشاركتك في استبياننا]]></surveyls_email_confirm_subj>
    <surveyls_email_confirm><![CDATA[عزيزي {FIRSTNAME},<br />
<br />
إن هذه الرسالة تؤكد انك انهيت الإستبانة المعنونة  {SURVEYNAME} وتم حفظ الأجوبة. شكراً لإشتراكك.<br />
<br />
إن كان عندك اي سؤال عن هذه الرسالة, يمكنك الإتصال ب   {ADMINNAME}  علي  {ADMINEMAIL}.<br />
<br />
شكراً لك ,<br />
<br />
{ADMINNAME}]]></surveyls_email_confirm>
    <surveyls_dateformat><![CDATA[2]]></surveyls_dateformat>
    <email_admin_notification_subj><![CDATA[تقديم الإجابة للاستبيان {SURVEYNAME}]]></email_admin_notification_subj>
    <email_admin_notification><![CDATA[اهلا, <br />
<br />
اجابات جديدة قد تم اضافتها لهذا الاستبيان '{SURVEYNAME}'.<br />
<br />
اضغط علي العنوان الاتي لاعادة تحميل الاستبيان:<br />
{RELOADURL}<br />
<br />
اضغط علي العنوان الاتي لروئية الاجابات المنفردة:<br />
{VIEWRESPONSEURL}<br />
<br />
اضغط علي العنوان الاتي لتعديل الاجابات المنفردة:<br />
{VIEWRESPONSEURL}<br />
<br />
شاهد الاحصائيات بالضغط هنا:<br />
{STATISTICSURL}]]></email_admin_notification>
    <email_admin_responses_subj><![CDATA[الاجابات تقدم لاستبيان {SURVEYNAME} مع النتائج]]></email_admin_responses_subj>
    <email_admin_responses><![CDATA[اهلا, <br />
<br />
اجابات جديدة قد تم اضافتها لهذا الاستبيان '{SURVEYNAME}'.<br />
<br />
اضغط علي العنوان الاتي لاعادة تحميل الاستبيان:<br />
{RELOADURL}<br />
<br />
اضغط علي العنوان الاتي لروئية الاجابات المنفردة:<br />
{VIEWRESPONSEURL}<br />
<br />
اضغط علي العنوان الاتي لتعديل الاجابات المنفردة:<br />
{VIEWRESPONSEURL}<br />
<br />
شاهد الاحصائيات بالضغط هنا:<br />
{STATISTICSURL}<br />
<br />
<br />
الاجابات الاتية جمعت من المشاركات:<br />
{ANSWERTABLE}]]></email_admin_responses>
    <surveyls_numberformat><![CDATA[0]]></surveyls_numberformat>
   </row>
   <row>
    <surveyls_survey_id><![CDATA[978215]]></surveyls_survey_id>
    <surveyls_language><![CDATA[en]]></surveyls_language>
    <surveyls_title><![CDATA[Date Test Marcel]]></surveyls_title>
    <surveyls_description/>
    <surveyls_welcometext/>
    <surveyls_endtext/>
    <surveyls_url/>
    <surveyls_urldescription/>
    <surveyls_email_invite_subj><![CDATA[Invitation to participate in a survey]]></surveyls_email_invite_subj>
    <surveyls_email_invite><![CDATA[Dear {FIRSTNAME},<br />
<br />
you have been invited to participate in a survey.<br />
<br />
The survey is titled:<br />
"{SURVEYNAME}"<br />
<br />
"{SURVEYDESCRIPTION}"<br />
<br />
To participate, please click on the link below.<br />
<br />
Sincerely,<br />
<br />
{ADMINNAME} ({ADMINEMAIL})<br />
<br />
----------------------------------------------<br />
Click here to do the survey:<br />
{SURVEYURL}<br />
<br />
If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br />
{OPTOUTURL}<br />
<br />
If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:<br />
{OPTINURL}]]></surveyls_email_invite>
    <surveyls_email_remind_subj><![CDATA[Reminder to participate in a survey]]></surveyls_email_remind_subj>
    <surveyls_email_remind><![CDATA[Dear {FIRSTNAME},<br />
<br />
Recently we invited you to participate in a survey.<br />
<br />
We note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.<br />
<br />
The survey is titled:<br />
"{SURVEYNAME}"<br />
<br />
"{SURVEYDESCRIPTION}"<br />
<br />
To participate, please click on the link below.<br />
<br />
Sincerely,<br />
<br />
{ADMINNAME} ({ADMINEMAIL})<br />
<br />
----------------------------------------------<br />
Click here to do the survey:<br />
{SURVEYURL}<br />
<br />
If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br />
{OPTOUTURL}]]></surveyls_email_remind>
    <surveyls_email_register_subj><![CDATA[Survey registration confirmation]]></surveyls_email_register_subj>
    <surveyls_email_register><![CDATA[Dear {FIRSTNAME},<br />
<br />
You, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.<br />
<br />
To complete this survey, click on the following URL:<br />
<br />
{SURVEYURL}<br />
<br />
If you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.]]></surveyls_email_register>
    <surveyls_email_confirm_subj><![CDATA[Confirmation of your participation in our survey]]></surveyls_email_confirm_subj>
    <surveyls_email_confirm><![CDATA[Dear {FIRSTNAME},<br />
<br />
this email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.<br />
<br />
If you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.<br />
<br />
Sincerely,<br />
<br />
{ADMINNAME}]]></surveyls_email_confirm>
    <surveyls_dateformat><![CDATA[1]]></surveyls_dateformat>
    <email_admin_notification_subj><![CDATA[Response submission for survey {SURVEYNAME}]]></email_admin_notification_subj>
    <email_admin_notification><![CDATA[Hello,<br />
<br />
A new response was submitted for your survey '{SURVEYNAME}'.<br />
<br />
Click the following link to see the individual response:<br />
{VIEWRESPONSEURL}<br />
<br />
Click the following link to edit the individual response:<br />
{EDITRESPONSEURL}<br />
<br />
View statistics by clicking here:<br />
{STATISTICSURL}]]></email_admin_notification>
    <email_admin_responses_subj><![CDATA[Response submission for survey {SURVEYNAME} with results]]></email_admin_responses_subj>
    <email_admin_responses><![CDATA[Hello,<br />
<br />
A new response was submitted for your survey '{SURVEYNAME}'.<br />
<br />
Click the following link to see the individual response:<br />
{VIEWRESPONSEURL}<br />
<br />
Click the following link to edit the individual response:<br />
{EDITRESPONSEURL}<br />
<br />
View statistics by clicking here:<br />
{STATISTICSURL}<br />
<br />
<br />
The following answers were given by the participant:<br />
{ANSWERTABLE}]]></email_admin_responses>
    <surveyls_numberformat><![CDATA[0]]></surveyls_numberformat>
   </row>
  </rows>
 </surveys_languagesettings>
 <themes>
  <theme>
   <sid>978215</sid>
   <template_name>biavl</template_name>
   <config>
    <options>inherit</options>
   </config>
  </theme>
 </themes>
 <themes_inherited>
  <theme>
   <sid>978215</sid>
   <template_name>biavl</template_name>
   <config>
    <options>
     <ajaxmode>off</ajaxmode>
     <animatebody>off</animatebody>
     <hideprivacyinfo>off</hideprivacyinfo>
     <container>on</container>
     <bodyanimation>fadeInRight</bodyanimation>
     <logoleft>on</logoleft>
     <logoleftfile>upload/themes/survey/biavl/files/logo.png</logoleftfile>
     <logomiddle>off</logomiddle>
     <logoright>off</logoright>
     <logolist>on</logolist>
     <logolistfile>upload/themes/survey/biavl/files/logo.png</logolistfile>
     <font>noto</font>
    </options>
   </config>
  </theme>
 </themes_inherited>
</document>
Bug heat10
Complete LimeSurvey version number (& build)3.26.4+210517
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL
Server OS (if known)Ubuntu 20
Webserver software & version (if known)Apache 2.0
PHP Version7.2.24

Relationships

related to 17137 closedollehar Can't convert Arabic date when submitting field 

Activities

ollehar

ollehar

2021-05-18 17:34

administrator   ~64469

Thought I fixed that... :/

gabrieljenik

gabrieljenik

2021-05-19 00:20

manager   ~64473

Last edited: 2021-05-19 00:21

The sample survey has two languages: EN and AR.
At the survey level, the date format for EN is dd.mm.yyyy for AR is dd-mm-yyyy (dots vs. dashes).
At the question level it does not have a specific format.

In LS4:
When the question is rendered, it tries to use the format of the question, and if it does not have it, it uses the one of the survey. But use the base language.

In the data validation, if the question does not have a format, use the survey format, but with the corresponding language.

In this case they are different a dump is produced.
The fix is considering the language on the rendering.

In LS3:
The rendering part is fine.
But in validation, it fails when converting the Arabic characters.
Ported the rutine from LS4 method and works fine now.

https://github.com/LimeSurvey/LimeSurvey/pull/1888
https://github.com/LimeSurvey/LimeSurvey/pull/1887

In LS3:
The rendering part is fine.
But in validation, when he converts the Arabic characters he does it wrong. Copying the LS4 method works fine.

ollehar

ollehar

2021-05-19 10:41

administrator   ~64475

@Mazi Time to test the PR?

Mazi

Mazi

2021-05-19 23:35

updater   ~64484

@ollerhar, unfortunately not. I can use ComfortUpdate at the customer system once the fix is included at the next 3.x release. Just ping me here.

DenisChenu

DenisChenu

2021-05-20 08:44

developer   ~64485

Thought I fixed that... :/

See : https://bugs.limesurvey.org/view.php?id=17137

gabrieljenik

gabrieljenik

2021-05-20 13:44

manager   ~64489

Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=31803

gabrieljenik

gabrieljenik

2021-05-20 17:34

manager   ~64491

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=31804

gabrieljenik

gabrieljenik

2021-05-21 10:29

manager   ~64498

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=31811

gabrieljenik

gabrieljenik

2021-06-10 11:45

manager   ~64827

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=32015

c_schmitz

c_schmitz

2021-07-12 11:53

administrator   ~65296

Release done.

Related Changesets

LimeSurvey: 3.x-LTS 5e32c49e

2021-05-20 13:44:07

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 17309: Date question always shows error when using AR language - can't proceed at survey (#1888) Affected Issues
17309
mod - application/helpers/expressions/em_manager_helper.php Diff File

LimeSurvey: master 0d1f5a50

2021-05-20 17:34:19

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 17309: Date question always shows error when using AR language - can't proceed at survey (#1887)

Changed numeral literals to Unicode codepoint escape syntax
Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
Affected Issues
17309
mod - application/core/QuestionTypes/Date/RenderDate.php Diff File
mod - application/helpers/expressions/em_manager_helper.php Diff File
mod - application/helpers/surveytranslator_helper.php Diff File

LimeSurvey: master 0e723c01

2021-05-20 17:34:19

gabrieljenik


Committer: ollehar Details Diff
Fixed issue 17309: Date question always shows error when using AR language - can't proceed at survey (#1887)

Changed numeral literals to Unicode codepoint escape syntax
Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
Affected Issues
17309
mod - application/core/QuestionTypes/Date/RenderDate.php Diff File
mod - application/helpers/expressions/em_manager_helper.php Diff File
mod - application/helpers/surveytranslator_helper.php Diff File

LimeSurvey: master ab5365b7

2021-05-20 17:34:19

gabrieljenik


Committer: ollehar Details Diff
Fixed issue 17309: Date question always shows error when using AR language - can't proceed at survey (#1887)

Changed numeral literals to Unicode codepoint escape syntax
Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
Affected Issues
17309
mod - application/core/QuestionTypes/Date/RenderDate.php Diff File
mod - application/helpers/expressions/em_manager_helper.php Diff File
mod - application/helpers/surveytranslator_helper.php Diff File

Issue History

Date Modified Username Field Change
2021-05-18 15:04 Mazi New Issue
2021-05-18 15:04 Mazi File Added: limesurvey_survey_978215-AR-Date-Format.lss
2021-05-18 17:34 ollehar Note Added: 64469
2021-05-18 17:43 ollehar Assigned To => gabrieljenik
2021-05-18 17:43 ollehar Status new => assigned
2021-05-19 00:20 gabrieljenik Note Added: 64473
2021-05-19 00:21 gabrieljenik Status assigned => ready for testing
2021-05-19 00:21 gabrieljenik Description Updated
2021-05-19 00:21 gabrieljenik Steps to Reproduce Updated
2021-05-19 00:21 gabrieljenik Sync to Zoho Project => |Yes|
2021-05-19 10:41 ollehar Note Added: 64475
2021-05-19 23:35 Mazi Note Added: 64484
2021-05-20 08:44 DenisChenu Note Added: 64485
2021-05-20 08:44 DenisChenu Relationship added related to 17137
2021-05-20 13:44 gabrieljenik Changeset attached => LimeSurvey 3.x-LTS 5e32c49e
2021-05-20 13:44 gabrieljenik Note Added: 64489
2021-05-20 13:44 gabrieljenik Resolution open => fixed
2021-05-20 17:34 gabrieljenik Changeset attached => LimeSurvey master 0d1f5a50
2021-05-20 17:34 gabrieljenik Note Added: 64491
2021-05-21 10:29 ollehar Changeset attached => LimeSurvey master 0e723c01
2021-05-21 10:29 gabrieljenik Note Added: 64498
2021-05-21 13:18 ollehar Status ready for testing => resolved
2021-06-10 11:45 ollehar Changeset attached => LimeSurvey master ab5365b7
2021-06-10 11:45 gabrieljenik Note Added: 64827
2021-07-12 11:53 c_schmitz Note Added: 65296
2021-07-12 11:53 c_schmitz Status resolved => closed