0

zk 6.5.8.1 jam Executions.getCurrent().sendRedirect (6.5.4 Works fine)

asked 2015-09-27 15:15:40 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

Hi, I have upgraded from 6.5.4 (EE) to 6.5.8.1 (EE). After this upgrade I have found a "lock" after executing Executions.getCurrent().sendRedirect. If I rewrite my /lib with 6.5.4 all works fine... I'm stumped.

/Luca

{   
                tempFile = File.createTempFile("globMet", ".pdf" );
                String reportTemp = fullPath+tempFile.getName();

                JasperRunManager.runReportToPdfFile(reportSrc, reportTemp ,jasperParam, conn);
            }

            Executions.getCurrent().sendRedirect(urlApp+"/temp/"+tempFile.getName(), "_blank");
delete flag offensive retag edit

5 Answers

Sort by ยป oldest newest most voted
1

answered 2015-10-30 06:35:10 +0800

hawk gravatar image hawk
2255 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2015-10-30 09:40:00 +0800

It's a known bug http://tracker.zkoss.org/browse/ZK-2844

The patch is mentioned in the issue.

link publish delete flag offensive edit
0

answered 2015-09-27 23:03:53 +0800

Darksu gravatar image Darksu
1991 1 4

Hello lramellavotta,

Are there any generated log files that can help out finding the issue?

Also since it's a little difficult to test it because of permissions, could you please create a new ticket to zk?

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2015-09-28 15:47:30 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

updated 2015-09-28 17:04:02 +0800

Hi Darksu, I can't produce any log file...because any fault errors is generated

His behavior is very odd: I press the command button (only the first time) the program works fine...but...any action after was locked (I can't close the windows; I can't press command button; simply, no actions is executed with errors). I feel like a thread was non correctly finished (thread under Executions program)... I'm confused.

Luca

p.s. I tried this version 1) 6.5.4 -> ok 2) 6.5.6 -> ok 3) 6.5.7 -> ok 4) 6.5.7.1 -> ok 5) 6.5.8 -> bad 6) 6.5.8.1 -> bad

link publish delete flag offensive edit
0

answered 2015-09-28 16:00:39 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Luca,

I'm 100% sure that your code is perfect but is it possible to create a clean project from the beginning and try again multiple times the Executions.getCurrent().sendRedirect?

If the problem still occurs then we should forward it to zk.

Best Regards,

Darksu

link publish delete flag offensive edit

Comments

Ok. I do an example in the next few days...

lramellavotta ( 2015-09-28 16:08:02 +0800 )edit
0

answered 2015-10-30 09:22:59 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

Ok, thanks for your reply...

Someone knows when will be a patch? /Luca

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-09-27 15:15:40 +0800

Seen: 42 times

Last updated: Oct 30 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More