projects / org / ezproject2010 / ezsurvey_ezp4 / forum / general / editing with ie brings dupl...
Find the Exponential Software extensions you want
You need to be logged in to post messages in the forums. New users may register here.
Member since: Posts: 12 |
Wednesday 08 October 2008 6:55:06 am Hi,
Have you ever seen this problem ? When I use firefox, all is well, but with IE : When I save/publish a content with an eZsurvey datatype, with one simple text question, the text question is duplicated. Trying to remove it works well, but when I publish again, the text question is always duplicated. Modifying and publishing the content X times will duplicate X² times the text question !!! With Firefox, I can remove duplicated questions, all is right... But my customer wants to use only IE... an idea for this ? Thanx ! Xavier Gouley |
|
Member since: Posts: 35 |
Wednesday 08 October 2008 2:21:16 pm Hi Xavier,
This problem is mentioned in other threads here as well, but I have not been able to reproduce the problem myself yet. Any information so I can reproduce it fully would be great. Are you using IE 6 or 7? any special version or setup? Does it happening with all question types, or only the text question? |
|
Member since: Posts: 12 |
Friday 10 October 2008 6:09:37 am I must find this bug ASAP for my customer, so I made deeper tests :
Under IE 6 (not tested with others), this occurs not only for text question type, but in fact with the last question of the survey... What I've done : - With Firefox, create a content with a Survey, with two questions (text and mail destination types). All is right here. - With IE6, in the admin interface, modify this content, and simply click on "Store draft" at the end of the form... The last question is duplicated when the interface refreshes. I have a serious idea of the problem : - Add the following line to /kernel/content/edit.php, before all PHP code :
Xavier Gouley |
|
Member since: Posts: 12 |
Friday 10 October 2008 6:29:44 am Yep, the copy button is the problem...
Even if you don't click on it, IE sends the data in the POST, and the question is duplicated when you publish or when you store the draft. Can you reproduce it now ? the button is in the survey/design/standard/templates/content/datatype/edit/ folder, on the ezsurvey.tpl file, at line 236. I comment the button, all is fine with IE... I suggest you replace all <button> tags in your templates, by clean <input type="submit"> buttons, even it is harder for the look... Xavier Gouley |
|
Member since: Posts: 35 |
Friday 10 October 2008 6:42:20 am Yes, great! We got it reproduced here now as well, and looks like IE6 is handling the button tag differently (works fine in IE7).
This should fix the problem and still make it look the same.
|
|
Member since: Posts: 35 |
Friday 10 October 2008 7:01:30 am The changes should now be available in the svn version of eZ Survey. Updated in rev. 56 and 57.
|
You need to be logged in to post messages in the forums. New users may register here.