View Issue Details

IDProjectCategoryView StatusLast Update
0010223mantisbtfeaturepublic2010-11-16 16:45
ReporterprabhuranganAssigned Togiallu  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version1.2.0a3 
Summary0010223: Issue in multiple file upload using mantis 1.2.0a3
Description

While trying to upload multiple files or even single file, i am facing this issue,

ERROR:
Failed to upload file. Mantis cannot read the file. Please check the project settings.

But i am able to upload the same file, before applying the patch for multiple file upload mentioned in task no: 0005228

TagsNo tags attached.
Attached Files
upload_many.zip (2,224 bytes)

Relationships

duplicate of 0005228 closeddregad Attaching multiple files in one go. 

Activities

giallu

giallu

2009-03-18 06:52

reporter   ~0021085

So the patch you applied does not seem to work... please use the other report di discuss the problem.

prabhurangan

prabhurangan

2009-03-18 07:04

reporter   ~0021086

@Giallu

Is this feature available in mantis 1.2.0a3.

giallu

giallu

2009-03-18 07:28

reporter   ~0021087

no. That's why it would be nice if you can fix the patch in 0005228 to work properly, so we could integrate it in the next release.

cas

cas

2009-03-18 13:12

reporter   ~0021102

Took a different approach on this one, no java simple scripting.
Just state in config.inc.php how many files maximum can be uploaded with:

Maximum file number that can be uploaded at once

$g_max_file_num = 2;

Copy the 2 files in the root of your mantis directory (NB, one will be overwritten so make a backup).
That is it.

prabhurangan

prabhurangan

2009-03-20 04:34

reporter   ~0021116

@cas

Great job from you. However we have set 'max_file_num=2' and if user needs to upload one more file to the bug, lets say user needs to upload three files, does he need to change the configuration.

Can you please further tune it up, so that the number of file uploads be 'dynamic'

If suppose we need to upload 5 files and if we give 'max_file_number=5', the page looks so odd.

By default there shall be one 'BROWSE' button with file path and once the user selects the 1st file, another 'BROWSE' button be placed, so that it shall be, dynamic.

@Cas, i am just sharing my views as an user of MANTIS.

cas

cas

2009-03-20 06:29

reporter   ~0021123

I would maximize it at 3 which would(should) be in most case enough.
If they need more, just do it again.
I made it this way since I did not get the dynamic one to work properly and we only need max 3 files.
So do not expect chnages here from my side.

prabhurangan

prabhurangan

2009-03-20 06:39

reporter   ~0021126

@cas

Yes, its right as what you say. If we need to upload more files we can repeat it.
I did not think this one.

Thanks a lot cas.

prabhurangan

prabhurangan

2009-03-20 06:49

reporter   ~0021127

Last edited: 2009-03-20 07:15

@Vboctor

Please remove the sponsorship; I just want to know the process of sponsorship. Unknowingly i have clicked this button, but there is no confirmation dialog for this?

Regards,
Prabhu