Menu

#2574 ReQuery - ZKWebUI

open-accepted
5
2011-01-20
2011-01-17
Habib
No

I noticed an issue with ZKWebUI reports preview.

The re-query button there does not work. To reproduce do following:

1. Create a PO
2. Press Print Button
3. Keeping report window open go back to PO and change something in data
4. Go to print window which is already open
5. Press re-query button
6. Data you have changed does not affect this preview

To fix I made following changes in source code of ZkReportViewer.java:

At line 559 it is written:

iframe.invalidate();

I commented the above line at added following:

//iframe.invalidate();
cmd_report();

Now the re-query button works.

I am quite new to Adempiere and don't know if this change can cause any side effects . Someone senior please check.

Thanks.

Habib

Discussion

  • Carlos Ruiz

    Carlos Ruiz - 2011-01-20
    • assigned_to: nobody --> globalqss
    • status: open --> open-accepted
     

Log in to post a comment.