Check out the LimeSurvey source code on GitHub!

Disappearing characters?

More
5 years 6 months ago - 5 years 6 months ago #64443 by steverubin
Hi - this is a wierd one.

Version 1.91+ Build 10647

I enter a question (spelled correctly) and then it appears in the question selection drop-down with various characters missing. Thought it might have been a first-time entry error that got cached, but tested it thoroughly and it is not.

Seems to like eating "v"s.

Any help please?

Not critical but very annoying!

Thanks,

Steve
Last Edit: 5 years 6 months ago by steverubin.

Please Log in to join the conversation.

More
5 years 6 months ago #64457 by atiut
Weird comment for a weird question: are those real "v"s?

The proiblem you mention can happen in various apps with non-ascii characters. V should be fine though... unless there is something else.

Please Log in to join the conversation.

More
5 years 6 months ago #64478 by luisr
Hi,

Same problem here, on 1.91+ 10647, normal 'v' are not rendered on text labels, but if I edit the text, they are there. Happens only on lowercase v, not V, on any text edit box. v are not on rendered html on client.

Regards,
LUIS

Please Log in to join the conversation.

More
5 years 6 months ago #64479 by steverubin
Thanks Luis - I thought for a while I was going crazy!

Gentlemen this is nothing to do with character encoding schemes, it is a quirky bug.

Please Log in to join the conversation.

More
5 years 6 months ago - 5 years 6 months ago #64482 by DenisChenu
Hello,

Can you export a lss survey file please.

And maybe:

Please open a ticket at the Bugtracker and...
  1. Give as much information as possible
  2. Attach your survey. You can mark your ticket "private" so that only the developers will be able to take a look at it.
  3. Provide step-by-step instructions how to reproduce the problem.
  4. If possible/helpful please provide screenshots

Afterwards please post the link to the Bugtracker so we can follow the progress.

Thanks!

PS: i trye to reproduce and can't reproduce ???
What is you language ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 5 years 6 months ago by DenisChenu. Reason: PS

Please Log in to join the conversation.

More
5 years 6 months ago #64485 by luisr
Ticket registered as 5199.

I'm on spanish lang. Changed UI to english but same happens.

Regards,
LUIS

Please Log in to join the conversation.

More
5 years 6 months ago #64487 by luisr
sorry, bug ID 5389
The following user(s) said Thank You: markbegbie

Please Log in to join the conversation.

More
5 years 6 months ago #64488 by markbegbie
Same issue here. IT currently trying to roll back to previous release.

Please Log in to join the conversation.

More
5 years 6 months ago #64495 by aruether
Yes, we have the same problem as well using English. Version 1.91+ Build 10647.

Can anyone recommend an earlier release that does not have this problem? We are upgrading from 1.86 and the improvements for 1.91 are great!

- Andrew

Please Log in to join the conversation.

More
5 years 6 months ago - 5 years 6 months ago #64499 by DeanMarshall
Thank goodness someone else has stumbled on this and navigated their way though sign-up and confirmation (and subseqently found their way back to the forum) to post this.

Confirming we've been seeing this since installing earlier this week - even in the url for the survey completed url (when displayed in survey overview)

Version 1.91+ Build 10629

I looked for issue 5389 in the bug tracker but can't find it.

Screenshot attached shows the 'v' missing from /survey/ in the url hover tooltip in admin - although it is present in the link to the survey higher in the page. I can give further info if needed.

Dean Marshall
Last Edit: 5 years 6 months ago by DenisChenu. Reason: remove link

Please Log in to join the conversation.

More
5 years 6 months ago #64500 by c_schmitz
I think it is a bug with a particular PHP version. I cannot reproduce the issue here on various OSs.

bugs.limesurvey.org/view.php?id=5389

Add your PHP version and see if there is a similarity.

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
5 years 6 months ago - 5 years 6 months ago #64501 by steverubin
Hi,

My PHP version is 5.2.17 (Heart Internet hosting)

Thanks for submitting the bug.

Steve
Last Edit: 5 years 6 months ago by steverubin.

Please Log in to join the conversation.

More
5 years 6 months ago #64502 by c_schmitz
Ok, try the following:

Open common_functions.php


Go to line 4383 (around there)
and replace this line
$sNicetext = preg_replace('/\v/u', '', $sNicetext);

with
        $sNicetext = preg_replace('/[\x0a\x0b\x0c\x0d\x85\x2028\x2029]/u', '', $sNicetext);

Let me know if that helped.

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
5 years 6 months ago #64504 by markbegbie
We rolled back to Version 1.91+ Build 10315 and do not have the vanishing v problem. It appeared when we upgraded and disappeared when we rolled back (about 10 minutes later!).

aruether wrote: Yes, we have the same problem as well using English. Version 1.91+ Build 10647.

Can anyone recommend an earlier release that does not have this problem? We are upgrading from 1.86 and the improvements for 1.91 are great!

- Andrew

Please Log in to join the conversation.

More
5 years 6 months ago - 5 years 6 months ago #64506 by aruether

$sNicetext = preg_replace('/[\x0a\x0b\x0c\x0d\x85\x2028\x2029]/u', '', $sNicetext);


The proposed fix shows the letter v, but removes spaces in survey names, user name, description, etc.

I added a space between the two single quotes (i.e. change: '' to: ' ') and that seemed to work.
Last Edit: 5 years 6 months ago by aruether. Reason: Updated information.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form