LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
06283Bug reports[All Projects] Translationpublic2012-06-26 22:442012-07-19 23:34
Reporterfenyvitez 
Assigned Totpartner 
PriorityhighSeveritymajor 
StatusclosedResolutionfixed 
Product Version2.00RC4 
Target VersionFixed in Version2.00RC5 
Summary06283: Quick translation is not working
DescriptionI have a test survey with one question group, English base language and one extra language. (I tried Hungarian first than removed Hungarian and tried French). In both cases when choosing Quick Translation from tools (in admin mode) in the upper left corner two broken image links appear and no translation options or form elements are visible.
The first broken image still has a link that can take the user back to the main admin page.
Steps To ReproduceCreate a survey
Pick English as base language
Add one question group, two questions in the base language.
(a token table was initialized, but I am not sure this is part of the problem)
Add a second language (French)
Navigate from the Tools menu to Quick-Translation
I will donate to the project if issue is resolved within 48 hrsNo
LimeSurvey build number120622
BrowserChrome
Database & DB-VersionMySQL 5.5.24
Operating System (Server)Windows 8 with wampserver
Webserver software & versionApache 2.2.22
PHP Version5.3.13
Attached Filesjpg file icon ps_translate_error.jpg [^] (489,052 bytes) 2012-07-01 01:44

- Relationships

-  Notes
User avatar (19575)
fenyvitez (reporter)
2012-06-26 22:53

I've checked it, the error is produced in IE 10, too.
User avatar (19583)
tpartner (developer)
2012-06-27 23:20

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8869 [^]
User avatar (19584)
tpartner (developer)
2012-06-27 23:23

fenyvitez, I have corrected the paths to the images but can't reproduce the problem of missing form elements.

Can you please retest when the next RC is released (or grab the latest from GitHub).
User avatar (19585)
fenyvitez (reporter)
2012-06-28 02:05

OK, I took the new translate.php. It fixed the broken image links but my page still does not load. I will look around to see what specificity of my installation causes this bug or look for further info that is needed to replicate the bug. Thanks anyway.
User avatar (19593)
fenyvitez (reporter)
2012-07-01 01:43

Hi tpartner,

I continued my search and when setting debugging level to two, I have received some clues what goes wrong. I made screenshot of the error messages, I am not sure I can upload it here but the first one basically says:
"Strict standards: Non-static method CHttpRequest::getParam() should not be called statically, assuming $this from incompatible context in C:\wamp\www\survey\application\controllers\admin\translate.php on line 28"

As a result in line 28 of the translate file $tolang is not set. And later on in line 49 it is not set again because I have only one additional language, and the condition on $langs requires more than one. (I guess more than 0 would be sufficient).

I hope this helps.
User avatar (19602)
tpartner (developer)
2012-07-03 22:48

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8887 [^]
User avatar (19603)
tpartner (developer)
2012-07-03 22:52

fenyvitez, thanks for the follow-up.

Yes, the condition should be greater than 0 because it refers to the number of additional languages, not total languages.
User avatar (19834)
c_schmitz (administrator)
2012-07-19 23:34

2.00RC6 released.

- Related Changesets
LimeSurvey: Yii 70ee2772
Timestamp: 2012-06-27 14:19:48
Author: tpartner
Committer: tpartner
Details ] Diff ]
Fixed issue 06283: Quick translation is not working
Dev Corrected up path to admin theme images
mod - application/controllers/admin/translate.php Diff ] File ]
LimeSurvey: Yii dab518a4
Timestamp: 2012-07-03 13:47:37
Author: tpartner
Committer: tpartner
Details ] Diff ]
Fixed issue 06283: Quick translation is not working
Dev Corrected minimum "additionalLanguages" condition
mod - application/controllers/admin/translate.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-06-26 22:44 fenyvitez New Issue
2012-06-26 22:53 fenyvitez Note Added: 19575
2012-06-27 23:20 tpartner Changeset attached => LimeSurvey Yii 70ee2772
2012-06-27 23:20 tpartner Note Added: 19583
2012-06-27 23:20 tpartner Assigned To => tpartner
2012-06-27 23:20 tpartner Resolution open => fixed
2012-06-27 23:23 tpartner Note Added: 19584
2012-06-27 23:23 tpartner Status new => feedback
2012-06-28 02:05 fenyvitez Note Added: 19585
2012-06-28 02:05 fenyvitez Status feedback => assigned
2012-07-01 01:43 fenyvitez Note Added: 19593
2012-07-01 01:44 fenyvitez File Added: ps_translate_error.jpg
2012-07-03 22:48 tpartner Changeset attached => LimeSurvey Yii dab518a4
2012-07-03 22:48 tpartner Note Added: 19602
2012-07-03 22:52 tpartner Note Added: 19603
2012-07-03 22:52 tpartner Status assigned => resolved
2012-07-05 22:32 c_schmitz Fixed in Version => 2.00RC5
2012-07-19 23:34 c_schmitz Note Added: 19834
2012-07-19 23:34 c_schmitz Status resolved => closed


Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker