LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
04956Bug reports[All Projects] Survey takingpublic2011-02-15 16:412011-05-04 19:51
Reportertpartner 
Assigned Totexens 
PrioritynormalSeverityminor 
StatusclosedResolutionfixed 
Product Version1.91RC3 
Target Version1.91RC4Fixed in Version1.91 
Summary04956: Problems with the file upload user interface
Description1) 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 hrsNo
LimeSurvey build number OR git commit ID9786
BrowserFireFox
Database & DB-VersionmySQL - 5.1.41
Operating System (Server)Win 7
Webserver software & versionApache - 2.2.14
PHP VersionPHP - 5.3.1
Attached Filesdiff file icon 04956_stable_mod.diff [^] (1,440 bytes) 2011-04-22 17:27 [Show Content]

- Relationships

-  Notes
User avatar (14184)
tpartner (developer)
2011-02-15 16:44

Hi texens,

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.
User avatar (14201)
texens (developer)
2011-02-16 14:28

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 :|
User avatar (14337)
c_schmitz (administrator)
2011-03-08 14:57

What's the status on this? Didn't you resolve it already? If yes, please set to resolved.
User avatar (14523)
bquiller (reporter)
2011-03-23 11:16

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

In uploader.js
replace onclick='deletefile("+count+")' by onclick=\"deletefile('"+ia+"',"+i+")\"

In modalDialog.js
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 ...
User avatar (14798)
texens (developer)
2011-04-12 14:32

Issues 1 and 3 mentioned above in the description - fixed in r9979.
Issue 2 still needs to be resolved.
User avatar (14856)
magiclko (developer)
2011-04-22 17:35

Hi texens,

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).
User avatar (14897)
texens (developer)
2011-05-01 17:58

Issue fixed in r10028.
Thank you magiclko for the patch

- Issue History
Date Modified Username Field Change
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 - 2014 MantisBT Team
Powered by Mantis Bugtracker