View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 03995 | Bug reports | Theme editor | public | 2009-12-14 15:42 | 2009-12-31 00:52 |
| Reporter | mdekker | Assigned To | tpartner | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.87RC5 | ||||
| Summary | 03995: 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. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 8159 | ||||
| I will donate to the project if issue is resolved | |||||
| Browser | Google Chrome 4.0.266.0 | ||||
| Database type & version | MySQL | ||||
| Server OS (if known) | dna | ||||
| Webserver software & version (if known) | dna | ||||
| PHP Version | dna | ||||
| Git branch / Pull Request URL | |||||
|
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. |
|
|
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. |
|
|
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? |
|
|
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. |
|
|
After some google on window.open I found this: 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. |
|
|
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? |
|
|
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 |
|
|
Okay, I'll mark it resolved for now but maybe ElMatador69 could leave it open for some time. |
|
| 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 |
|
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 |