Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
AutoRecoverMaxTriesCount in IE and FireFox behaves differently
Rank: Member
Groups: Member
Joined: 3/20/2007(UTC) Posts: 21
|
Hi all, I have problem with setting "AutoRecoverMaxTriesCount" parameter that behaves differently in IE and FireFox. This is my setting: iu.addParam("AutoRecoverMaxTriesCount", "1"); I expect that when there will be error from server then there will be one try only. This behaviour is in IE but in FireFox (=Java) it is 2 times. For me is this quite problem because I generate 500 server responses by myself sometimes when for example there are some problems in input data. I use ImageUploader v4.0, IE 7, FireFox 1.5.0.10, OS Windows XP. Thank you in advance for any help. PETER
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello, We have added this problem to our bug tracking system and it will be fixed in the further releases. The right behavior is the behavior of Image Uploader for ActiveX in this way. As about a workaround try to use the following code: Code:if (iu.getControlType() == "ActiveX")
{
iu.addParam("AutoRecoverMaxTriesCount", "1");
}
else
{
iu.addParam("AutoRecoverMaxTriesCount", "0");
}
That should work. Edited by user Friday, February 22, 2008 4:47:53 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Member
Joined: 3/20/2007(UTC) Posts: 21
|
It doesn't work. If condition is correct but iu.addParam("AutoRecoverMaxTriesCount", "0") doesn't work for me. I have jar of ImageUploader file from 12th of March. PETER
|
|
|
|
Rank: Member
Groups: Member
Joined: 3/20/2007(UTC) Posts: 21
|
It hasn't still worked as I would expect. I would expect that the behavior of ActiveX and Java component will be same. When I use ActiveX component (iu.addParam("AutoRecoverMaxTriesCount", "1")) then it tries once and nothing else. Result is success or error. When I use the same setting for Java component then it tries always twice if error occurs after first try. I use last available version - 2.1.60.0.
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello, We have fixed this bug and the fix will be available next week. |
|
|
|
|
Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
AutoRecoverMaxTriesCount in IE and FireFox behaves differently
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.