Page 1 of 1
Selecting multiple files for posting bug?
Posted: Sat Oct 27, 2007 1:31 pm
by The Cat
High Alex,
I encountered a small problem when i tried to upload multiple files. When I click on multiple files (add in the post command (select attachments to post) UE gives a file not found error.
Sometimes it works, but it happenes most when using the ctrl key for selecting files that are not together, the file not found error pops up.
Regards,
Ronald
Posted: Sat Oct 27, 2007 11:45 pm
by alex
i think it is a windows bug, it doesn't leave the dialog?
i just call the windows dialog and it returns to me the list of files.
i don't have any control in the process.
i'm testing unpack, i also have add file dialog there (don't know it will make it into the release or not, but right now it is there). sometimes i see the same. i remember the dialog still stays in plays, then i try again and it works.
the code is like that:
if (fd.DoModal()==IDOK) {
POSITION pos = fd.GetStartPosition();
DoModal is like call of a simple wrapper function which in fact calls windows function which is in windows dll I think commond dialog windows dll. So it returns the error while you are still inside the code. In UE code there is no such error message anywhere.
if you want try to reproduce it then if you can always reproduce it try to look what it puts in the edit string, maybe you'll notice something wrong there, then let me know i'll check it as well, but because it is inside comdlg32.dll nothing can be done about it.
is it xp? i saw it in xp.
Posted: Sun Oct 28, 2007 9:43 am
by The Cat
The error is reproducable. It's in XP. It doesn't leave the dialog box. It just complaints that it can not find the file.
But you are right when you first just select one file to place and then do again the process of adding you do not get the error. So it only hapeness when you first select multiple files. But now I now the workaround. We have to blame windows.
Thanks Alex.