Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
jps26401  
#1 Posted : Tuesday, March 20, 2007 9:03:24 PM(UTC)
jps26401

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
Alex Makhov  
#2 Posted : Thursday, March 22, 2007 7:40:56 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
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

Sincerely yours, Alex Makhov UserPostedImage Follow Aurigma on Twitter!
jps26401  
#3 Posted : Monday, March 26, 2007 10:36:13 PM(UTC)
jps26401

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
jps26401  
#4 Posted : Monday, May 28, 2007 10:46:30 PM(UTC)
jps26401

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.
Alex Makhov  
#5 Posted : Thursday, May 31, 2007 12:28:07 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello, We have fixed this bug and the fix will be available next week.
Sincerely yours, Alex Makhov UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
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.