View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
03995Bug reportsTheme editorpublic2009-12-31 00:52
Reportermdekker Assigned Totpartner  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.87RC5 
Summary03995: On Chrome browser it is impossible to upload a template
Description

The is no box for the file, and the action is set to templatesavechanges.

TagsNo tags attached.
Attached Files
uploadtemplate_chrome.jpg (28,352 bytes)   
uploadtemplate_chrome.jpg (28,352 bytes)   
uploadtemplate_firefox.jpg (35,685 bytes)   
uploadtemplate_firefox.jpg (35,685 bytes)   
developer_tools.jpg (111,602 bytes)
uploadtemplate_chrome_TP.gif (33,079 bytes)   
uploadtemplate_chrome_TP.gif (33,079 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)8159
I will donate to the project if issue is resolved
BrowserGoogle Chrome 4.0.266.0
Database type & versionMySQL
Server OS (if known)dna
Webserver software & version (if known)dna
PHP Versiondna
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

mdekker

mdekker

2009-12-14 15:52

reporter   ~10565

Last edited: 2009-12-14 15:53

Check the two renderings of the same screen (firefox and chrome). If needed I can provide them in English too but you can clearly see the buttons have different words.

When I reload the upload screen I get the correct form... very strange.

mdekker

mdekker

2009-12-14 16:06

reporter   ~10567

After some experimenting I found out that in the toolbar when I change from

javascript:window.open

to

javascript:document.location=

it seems to work.

tpartner

tpartner

2009-12-14 16:29

partner   ~10568

That is odd. It works fine for me using Chrome on Vista. In my screenshot I have selected default.zip to be imported. There is no input box for the file but it does let me browse my system and select a file (maybe that's normal for Chrome?)

mdekker, what OS are you using?

mdekker

mdekker

2009-12-16 09:16

reporter   ~10585

I am running on XP-sp3, using the developer channel builds of Chrome. I noticed some problems with the javascript engine before. On a different project there was a problem with a variable that was not declared. So changing from 'myvar = something' to 'var myvar = something' fixed code execution.

Chrome is nice but it forces you to fix stuff that is not correct but handled correctly in other browsers... very difficult to find the exact cause of some problems.

BTW, I use latest SVN and run this from a local xampp installation. Don't know it running from a remote install works better. Once I had some security problems because localhost acts different than a real domain.

I have this problem when I come from template editor with the edit window for the default template opened. Then I press the import button and I have this problem. When I reload I get normal screen. It must have something to do with privilege and variables shared between the calling window and the window opened. Could be just a bad timing on my computer :(

Do you know why window.open is used? windows.location.href seems to work perfect here.

mdekker

mdekker

2009-12-16 09:26

reporter   ~10586

After some google on window.open I found this:
winName

This assigns a name to the new window. Any attempt to open a new window with the same name as a window that is already open will result in the open window being reused instead of a new window being opened. Names starting with an underscore have a special meaning and so you should not start the name with an underscore unless you are using one of the special values. The only special value that behaves the same across all browsers is _blank which forces a new window to open without naming it.

Some browsers also support _parent, _self, and _top which will replace a frame or the entire content of the current window instead of opening a new window. In this case the window.open becomes equivalent to parent.location.href, self.location.href, and top.location.href respectively and would be better referenced that way for proper cross browser support.

tpartner

tpartner

2009-12-17 01:46

partner   ~10588

Menno, I'm afraid I can't reproduce this behavior using Chrome 3.0.195.38 (latest stable). I've tested with XP and Vista on both local xampp and shared Linux servers.

Can anyone else reproduce it?

mdekker

mdekker

2009-12-17 08:51

reporter   ~10589

Last edited: 2009-12-17 09:03

I switched from dev to stable for chrome and it works as it should work now. Not sure how to report this to chrome, but I will file a bug there. I suggest to leave this bug for reference in case they don't make a change and push this dev to stable (but I don't expect that to happen soon)

Filed a bug at chromium: http://code.google.com/p/chromium/issues/detail?id=30665

tpartner

tpartner

2009-12-17 13:16

partner   ~10593

Okay, I'll mark it resolved for now but maybe ElMatador69 could leave it open for some time.

Issue History

Date Modified Username Field Change
2009-12-14 15:42 mdekker New Issue
2009-12-14 15:42 mdekker Status new => assigned
2009-12-14 15:42 mdekker Assigned To => user372
2009-12-14 15:42 mdekker File Added: developer_tools.jpg
2009-12-14 15:42 mdekker LimeSurvey build number => 8159
2009-12-14 15:42 mdekker Browser => Google Chrome 4.0.266.0
2009-12-14 15:42 mdekker Database & DB-Version => MySQL
2009-12-14 15:42 mdekker Operating System (Server) => dna
2009-12-14 15:42 mdekker Webserver => dna
2009-12-14 15:42 mdekker PHP Version => dna
2009-12-14 15:42 mdekker File Added: uploadtemplate_chrome.jpg
2009-12-14 15:44 mdekker File Added: uploadtemplate_firefox.jpg
2009-12-14 15:45 mdekker File Deleted: developer_tools.jpg
2009-12-14 15:45 mdekker File Added: developer_tools.jpg
2009-12-14 15:52 mdekker Note Added: 10565
2009-12-14 15:53 mdekker Note Edited: 10565
2009-12-14 15:58 user372 Assigned To user372 => tpartner
2009-12-14 16:06 mdekker Note Added: 10567
2009-12-14 16:28 tpartner File Added: uploadtemplate_chrome_TP.gif
2009-12-14 16:29 tpartner Note Added: 10568
2009-12-16 09:16 mdekker Note Added: 10585
2009-12-16 09:26 mdekker Note Added: 10586
2009-12-17 01:46 tpartner Note Added: 10588
2009-12-17 08:51 mdekker Note Added: 10589
2009-12-17 09:03 mdekker Note Edited: 10589
2009-12-17 13:16 tpartner Note Added: 10593
2009-12-17 13:16 tpartner Status assigned => resolved
2009-12-17 13:16 tpartner Resolution open => fixed
2009-12-31 00:52 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor