google-code-export / redmine-dmsf

Automatically exported from code.google.com/p/redmine-dmsf
1 stars 1 forks source link

Upload area tagging file names with 'undefined' and refusing to upload. #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempt to upload a file.

What is the expected output? What do you see instead?

Expected Output: 'filename' status, etc...
Observed Output: 'undefined' status, etc...

What version of the DMSF and Redmine are you using? On what browser and
operating
system?

Redmine 1.2 with DMSF 1.1.1 on Fedora 14

Please provide any additional information below.

Unfortunately, this bug happens using some systems and not others with no 
observable pattern. I've had Fedora 15 systems work and then other Fedora 15 
systems not work.

Ideas about where to start debugging would be most appreciated. Turning on full 
debugging in Redmine didn't result in any logs being produced (which makes 
sense given that the upload form is a client side function). However, the 
upload button simply refuses to function when this happens.

Original issue reported on code.google.com by peiriann...@gmail.com on 4 Oct 2011 at 3:10

GoogleCodeExporter commented 9 years ago
I have the same issue on win xp/7 with firefox 7. I guess it is a firefox 7 
problem as the upload still worked last week with firefox 6.

Original comment by pahl.flo...@gmail.com on 4 Oct 2011 at 7:34

GoogleCodeExporter commented 9 years ago

Original comment by vit.jo...@gmail.com on 4 Oct 2011 at 7:56

GoogleCodeExporter commented 9 years ago
I am having the same issue. I have to switch to Chrome to be able to upload 
anything. In chrome I can both drag-n-drop and upload through dialog, while in 
FF neither.

FF 7.0.1 (Win7 client)
Redmine 1.2.1
DMSF 1.1.1

Original comment by somo...@gmail.com on 6 Oct 2011 at 7:18

GoogleCodeExporter commented 9 years ago

Original comment by vit.jo...@gmail.com on 6 Oct 2011 at 8:15

GoogleCodeExporter commented 9 years ago

Original comment by vit.jo...@gmail.com on 14 Oct 2011 at 7:11

GoogleCodeExporter commented 9 years ago
Same problem here, 'undefined', for both Mac and Win 7 using Firefox 7.0.x 
(works fine with Chrome).

Original comment by BRElli...@gmail.com on 24 Oct 2011 at 2:29

GoogleCodeExporter commented 9 years ago
Tested DMSF 1.2.1 with Firefox 7.0.1 and no problem. Please check you are using 
latest DMSF stable version.

Original comment by vit.jo...@gmail.com on 26 Oct 2011 at 8:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Tested with 
DMSF 1.2.2
Redmine 1.3
FF not working - name of file undefined, cannot be uppload.
IE working fine.
Any suggestions?

Original comment by Aleksey....@gmail.com on 22 Dec 2011 at 7:08

GoogleCodeExporter commented 9 years ago
Very strange ... just tested it on latest FF 9.0 and everything works fine. 
What FF version are you using?

Original comment by vit.jo...@gmail.com on 23 Dec 2011 at 7:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Very strange. I'm using Redmine 1.3, DMSF 1.2.2 and FF 9.0.1 and everything 
works fine. Could you do some debugging using firebug or something to digg some 
details? I can't reproduce your problem.

Original comment by vit.jo...@gmail.com on 23 Dec 2011 at 11:50

GoogleCodeExporter commented 9 years ago
Yes, I made test on not last version of FF 8.0.1.
But after update to version FF 9.0.1 the functionality problem is still 
avalible.

Originally it was work, I guess it's only related to Firefox updates, cause I 
used follow versions and it was work fine:
redmine 1.2.1
DMSF 1.1.1
FF low than version 8

After that Firefox got updates to 8.0.1 and it stop to work.
I made update of DMSF to 1.2.1 - wasn't positive result
I made redmine update to 1.3.0.stable.8314 - wasn'r positive result also
Today updated FF to 9.0.1 - the same issue - once file attached the name of 
file is "undefined" and uploading not possible to perform.

Let me know what log or more details I can share to you.

Original comment by Aleksey....@gmail.com on 23 Dec 2011 at 11:52

Attachments:

GoogleCodeExporter commented 9 years ago
..checked with one other user he using also FF 9.0.1 nad the same issue 
"undefined" name for file. Connection ofcourse used to the same redmine server.
...I will try look a reason self, will let you know if find something.
Should be something different how FF handle this.

Strange thing that e.g. FF 3.6.8 woking fine (connection to the same redmine 
server)!

Original comment by Aleksey....@gmail.com on 23 Dec 2011 at 1:57

Attachments:

GoogleCodeExporter commented 9 years ago
become more strange for me...
I just only installed firebug-1.8.4b1.xpi !
and it's working now on my FF 9.0.1 !!!

But in the same time another user with FF 9.0.1 (without firebug) has still 
"undefined" file name issue.

Any ideas why? and how we can reproduce this without FireBug installation and 
to use as a fix maybe?

Original comment by Aleksey....@gmail.com on 23 Dec 2011 at 2:37

GoogleCodeExporter commented 9 years ago
In my testing, this issue can be resolved by upgrading to plupload 1.5.1.1. The 
problem is in line 236 of plupload.html5.js. In the version DMSF bundles, it 
still depends on the fileName property. In Firefox 7, this was removed. See 
http://www.plupload.com/punbb/viewtopic.php?pid=5330#p5330 and 
https://developer.mozilla.org/en/Firefox_7_for_developers#DOM

For people who want a workaround until a new DMSF release, here is what worked 
for me:

1) Change directories to public/plugin_assets/redmine_dmsf/javascripts/
2) Move plupload to plupload_dmsf
3) Download https://github.com/downloads/moxiecode/plupload/plupload_1_5_1_1.zip
4) Extract it
5) Move plupload to plupload_upstream
6) Move plupload_upstream/js to to plupload

Original comment by sciurus@gmail.com on 30 Dec 2011 at 10:30

GoogleCodeExporter commented 9 years ago
I§ve updated plupload to 1.5.2 in current trunk. Check it out pls if problems 
are fixed

Original comment by vit.jo...@gmail.com on 10 Jan 2012 at 2:20

GoogleCodeExporter commented 9 years ago
I§ve updated plupload to 1.5.2 in current trunk. Check it out pls if problems 
are fixed

Original comment by vit.jo...@gmail.com on 10 Jan 2012 at 2:20