|Anonymous | Login||2015-11-27 12:45 CET|
|My View | View Issues | Change Log | Roadmap | Repositories|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|04956||Bug reports||[All Projects] Survey taking||public||2011-02-15 16:41||2011-05-04 19:51|
|Target Version||1.91RC4||Fixed in Version||1.91|
|Summary||04956: Problems with the file upload user interface|
|Description||1) Cannot delete uploaded file - after uploading a file, then trying to delete it, I get an error "Warning: fopen(tmp/upload/) [function.fopen]: failed to open stream: No such file or directory in C:\xampp\htdocs\limeSurveyTest\delete.php on line 55" |
2) After uploading a file, moving on to another group and then returning to the file-upload group, the table displaying the file details does not appear. It only re-appears after opening the modaldialog again.
3) There are some alerts that I'm not sure should appear - in modaldialog.js, lines 93, 107, 111
|I will donate to the project if issue is resolved within 48 hrs||No|
|LimeSurvey build number OR git commit ID||9786|
|Database & DB-Version||mySQL - 5.1.41|
|Operating System (Server)||Win 7|
|Webserver software & version||Apache - 2.2.14|
|PHP Version||PHP - 5.3.1|
|Attached Files||04956_stable_mod.diff [^] (1,440 bytes) 2011-04-22 17:27 [Show Content]|
I thought it would be easier to group these together but I can move them into separate bugs if you like.
Let me know if you need more details.
I also ran into issue #1, didn't try issue #2 and #3 yet. Its easier to have them all at one place :) If I need any more details, I'll let you know.
Thanks for testing :) There was a major code overhaul last week to overcome a design issue (that resulted in failure when we have more than one question on the same page) and a couple things are broken right now :|
|What's the status on this? Didn't you resolve it already? If yes, please set to resolved.|
I don't know if it corresponds on what you wanted to do but I really need the file upload so I have done the following modification
replace onclick='deletefile("+count+")' by onclick=\"deletefile('"+ia+"',"+i+")\"
put display += '</tr></table>'; outside the for to correct the table display
replace var pass = document.getElementById('uploader').contentDocument.defaultView.saveAndExit(fieldname, show_title, show_comment, pos);
By var pass = window.frames.uploader.saveAndExit(fieldname, show_title, show_comment, pos);
to saveAndExit in IE.
Think it works ...
Issues 1 and 3 mentioned above in the description - fixed in r9979.
Issue 2 still needs to be resolved.
I have uploaded a diff file to correct two issues :
1. issue #2 already mentioned!
2. a small issue that when just opening and closing dialog box result in empty table(title,comment,name etc).
If anybody can review the file, it would be great :-)
P.S. @texens, shouldn't variables pos, show_title, show_comment, maxfiles, filecount and many other be integers(they are string currently, i guess).
Issue fixed in r10028.
Thank you magiclko for the patch
|2011-02-15 16:41||tpartner||New Issue|
|2011-02-15 16:42||tpartner||Assigned To||=> texens|
|2011-02-15 16:42||tpartner||Status||new => assigned|
|2011-02-15 16:44||tpartner||Note Added: 14184|
|2011-02-16 14:28||texens||Note Added: 14201|
|2011-03-08 14:57||c_schmitz||Note Added: 14337|
|2011-03-23 11:16||bquiller||Note Added: 14523|
|2011-04-12 14:32||texens||Note Added: 14798|
|2011-04-22 17:27||magiclko||File Added: 04956_stable_mod.diff|
|2011-04-22 17:35||magiclko||Note Added: 14856|
|2011-05-01 17:58||texens||Note Added: 14897|
|2011-05-01 17:58||texens||Status||assigned => resolved|
|2011-05-01 17:58||texens||Resolution||open => fixed|
|2011-05-04 19:51||c_schmitz||Status||resolved => closed|
|2011-05-04 19:51||c_schmitz||Fixed in Version||=> 1.91|
|Copyright © 2000 - 2015 MantisBT Team|