View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05123Bug reportsOtherpublic2011-09-11 09:37
ReportermagiclkoAssigned Tomdekker  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.91RC6 
Summary05123: File Upload question type issues
Description

I am facing these issues when i include file upload question type.

Presentation

  1. Dialog box for uploading files do not appear in center in chrome(in FF, it does).
  2. Dialog box is not movable most of the time. (sometimes it is, strange!)
  3. Opening dialog box and than closing it result in (title,comment etc) table which shouldn't be there when i don't upload any file.(In case its ok than on refreshing the page, this table disappear!)
  4. Poor formatting of error/success message when message length is enough to force the message appear in 2 or more lines.

Miscellaneous

  1. I can't upload more than 2 file when maxlimit is set to 10! Furthermore, variables maxfiles, filecount should be integer! (they are string.)
  2. Opening dialog box to upload files and clicking on X(cross) result in another dialog box saying "dialog destroyed" {HAPPENS only the first time, not every time}
  3. Opening dialog box to upload files and clicking on "Save and exit" result in another dialog box saying "calling saveandexit" {HAPPENS only the first time, not every time}
  4. After uploading files(at most 2 in my case!) if i refresh the page, i get warning message "Warning: trim() expects parameter 1 to be string, array given in <path>\common_functions.php on line 8222 and if i submit survey after getting this warning, i further get these notices:
    "Notice: Trying to get property of non-object in <path>\index.php on line 1719

Notice: Trying to get property of non-object in <path>\index.php on line 1719

Steps To Reproduce

Create test survey. Include file upload question type and test the survey.

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)9986
I will donate to the project if issue is resolvedNo
BrowserChrome, Firefox
Database type & versionMySQL(i) 5.1.37
Server OS (if known)Windows 7
Webserver software & version (if known)XAMPP 1.7.4
PHP Version5.2.13

Users monitoring this issue

There are no users monitoring this issue.

Activities

texens

texens

2011-05-02 03:50

reporter   ~14898

Presentation

  1. Dialog box for uploading files do not appear in center in chrome(in FF, it does).
    texens: Unable to reproduce.

  2. Dialog box is not movable most of the time. (sometimes it is, strange!)
    texens: fixed in r10029

  3. Opening dialog box and than closing it result in (title,comment etc) table which shouldn't be there when i don't upload any file.(In case its ok than on refreshing the page, this table disappear!)
    texens: fixed in r10028, thanks for the patch :)

  4. Poor formatting of error/success message when message length is enough to force the message appear in 2 or more lines.
    texens: fixed in r10029. Note, the notice is not intended to display PHP warnings. If you come across any scenario where raw PHP error is being thrown out, please report the same.

Miscellaneous

  1. I can't upload more than 2 file when maxlimit is set to 10! Furthermore, variables maxfiles, filecount should be integer! (they are string.)
    texens: unable to reproduce, could you please attach the sample survey and give
    some more info on test environment.

  2. Opening dialog box to upload files and clicking on X(cross) result in another dialog box saying "dialog destroyed" {HAPPENS only the first time, not every time}
    texens: I believe this issue was fixed quite some time back and didn't ship with RC6. Please cross-check and confirm.

  3. Opening dialog box to upload files and clicking on "Save and exit" result in another dialog box saying "calling saveandexit" {HAPPENS only the first time, not every time}
    texens: same as 2.

  4. After uploading files(at most 2 in my case!) if i refresh the page, i get warning message "Warning: trim() expects parameter 1 to be string, array given in <path>\common_functions.php on line 8222 and if i submit survey after getting this warning, i further get these notices:
    "Notice: Trying to get property of non-object in <path>\index.php on line 1719

texens

texens

2011-05-02 19:44

reporter   ~14904

magiclko,
I'm unable to reproduce the issue 1. I can't upload more than 2 file when maxlimit is set to 10!

Could you please attach a sample survey.

Thanks,

magiclko

magiclko

2011-05-02 19:50

reporter   ~14906

uploaded the survey file. test environment in bug report ;)

bquiller

bquiller

2011-05-10 13:53

reporter   ~14966

I have the problem of the maximum of 2 files and one more :
I can not add a new file anymore when going to the next page and comming back to the file upload.

mdekker

mdekker

2011-06-21 14:25

reporter   ~15534

In latest svn the max number of files is fixed and a lot of other issues. Please retest if any of the problems still exist and report back here.

Issue History

Date Modified Username Field Change
2011-04-22 00:01 magiclko New Issue
2011-04-22 00:01 magiclko Status new => assigned
2011-04-22 00:01 magiclko Assigned To => texens
2011-04-22 00:05 magiclko Severity minor => partial_block
2011-04-22 00:05 magiclko Description Updated
2011-04-22 09:55 magiclko Description Updated
2011-04-22 10:01 magiclko Description Updated
2011-05-02 03:50 texens Note Added: 14898
2011-05-02 03:50 texens Status assigned => feedback
2011-05-02 19:44 texens Note Added: 14904
2011-05-02 19:50 magiclko File Added: limesurvey_survey_93957.lss
2011-05-02 19:50 magiclko Note Added: 14906
2011-05-02 19:50 magiclko Status feedback => assigned
2011-05-10 13:53 bquiller Note Added: 14966
2011-06-21 14:24 mdekker Assigned To texens => mdekker
2011-06-21 14:25 mdekker Note Added: 15534
2011-09-11 09:37 c_schmitz Status assigned => closed
2011-09-11 09:37 c_schmitz Resolution open => fixed