View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
04973Bug reportsOtherpublic2011-03-10 12:28
ReportermagiclkoAssigned Tolemeur  
PrioritylowSeverityminor 
Status closedResolutionfixed 
Product Version1.90+ 
Target Version1.90+Fixed in Version1.91RC5 
Summary04973: Initial garbage data on opening HTML editor
Description

Some initial garbage HTML data(e.g. "&nb sp;(space)") appears on opening HTML editor while adding new label to a label set. Also, after saving the changes, a weird dialog box is coming with text "true" and two buttons..

Steps To Reproduce

Open HTML editor, close it. Dialog box will appear. Click Ok to save changes. "&nb sp;(space)" will come in label title field which on on clicking add new label is getting saved too.

Additional Information

Snapshots attached.

TagsNo tags attached.
Attached Files
Capture2.JPG (70,792 bytes)   
Capture2.JPG (70,792 bytes)   
Capture3.JPG (50,552 bytes)   
Capture3.JPG (50,552 bytes)   
Bug heat10
Complete LimeSurvey version number (& build)9642
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome
Database type & versionMySQL(i) 5.1.37
Server OS (if known)Windows 7
Webserver software & version (if known)IIS 6.0
PHP Version5.2.13

Users monitoring this issue

There are no users monitoring this issue.

Activities

lemeur

lemeur

2011-02-22 22:18

developer   ~14263

MAzi can you test with Google Chrome on latest dev version ?
If it's still occuring, I'll fix this, but I think it is already done in latest dev tree.

Thanks

Mazi

Mazi

2011-02-22 22:26

updater   ~14265

I don't have Chrome for testing, maybe Shnoulle can help?!

DenisChenu

DenisChenu

2011-02-23 11:26

developer   ~14267

I confirm with chromium in GNU/Linux (Version 1.91RC4 an 1.92dev )

I can't test with chrome :)

limech

limech

2011-02-23 15:39

reporter   ~14268

Last edited: 2011-02-23 15:45

Confirmed in Ubuntu 10.10 with Google Chrome 10.0.648.82 beta.

LimeSurvey 1.91RC4 build 9797.

I've also noted that the strange non-breaking space entity appears last in other texts edited using the HTML editor, e.g., question texts, answers, descriptions, USW.

lemeur

lemeur

2011-02-23 16:06

developer   ~14269

The   is not a serious bug cause when you submit the changes it is stripped from the input field.

The Warning window is a Goole-chrome specific issue. I don't know why the borwser decides to display it cause LimeSurvey doesn't ask for it!

limech

limech

2011-02-23 16:41

reporter   ~14272

Last edited: 2011-02-23 16:43

I agree to the first sentence.

About the Chrome-specific dialog: It appears when the user closes a form that has been "changed" but not "submitted". It is quite common in web applications, where JavaScript is used to "change" a form without user's action. The problem here is two-fold:

  1. The text 'true' is not the most interesting thing to say here, but unfortunately I don't know how to set this text.

  2. In this case, the user is completely unaware of the fact that a form is somehow automatically changed, so the dialog would be surprising, even if the leading text was more interesting.

lemeur

lemeur

2011-02-23 17:12

developer   ~14278

I'm fixing the first issue now.

The pb is that I'm returnning the boolean true, not the text true ;-)

I agree that this should be fixed, but this is something very specific to Chrome. The browser shouldn't display this "True" text at all !

lemeur

lemeur

2011-02-23 17:20

developer   ~14280

Both issues resolved in rev 9818 and 9819.

I changed the "return true;" which should not cause any display in Chrome by a "var a=1;".

Thibault

c_schmitz

c_schmitz

2011-03-10 12:28

administrator   ~14386

1.91RC5 released.

Issue History

Date Modified Username Field Change
2011-02-22 17:51 magiclko New Issue
2011-02-22 17:51 magiclko File Added: Capture2.JPG
2011-02-22 17:52 magiclko File Added: Capture3.JPG
2011-02-22 18:13 magiclko Description Updated
2011-02-22 18:13 magiclko Steps to Reproduce Updated
2011-02-22 22:17 lemeur Assigned To => Mazi
2011-02-22 22:17 lemeur Status new => assigned
2011-02-22 22:18 lemeur Note Added: 14263
2011-02-22 22:25 Mazi Assigned To Mazi => DenisChenu
2011-02-22 22:26 Mazi Note Added: 14265
2011-02-23 11:26 DenisChenu Note Added: 14267
2011-02-23 11:26 DenisChenu Assigned To DenisChenu => lemeur
2011-02-23 15:39 limech Note Added: 14268
2011-02-23 15:40 limech Note Edited: 14268
2011-02-23 15:43 limech Note Edited: 14268
2011-02-23 15:45 limech Note Edited: 14268
2011-02-23 16:06 lemeur Note Added: 14269
2011-02-23 16:41 limech Note Added: 14272
2011-02-23 16:43 limech Note Edited: 14272
2011-02-23 17:12 lemeur Note Added: 14278
2011-02-23 17:20 lemeur Note Added: 14280
2011-02-23 17:20 lemeur Status assigned => resolved
2011-02-23 17:20 lemeur Fixed in Version => 1.91RC5
2011-02-23 17:20 lemeur Resolution open => fixed
2011-03-10 12:28 c_schmitz Note Added: 14386
2011-03-10 12:28 c_schmitz Status resolved => closed