You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Divesh Dutta (JIRA)" <ji...@apache.org> on 2014/12/20 08:37:13 UTC

[jira] [Commented] (OFBIZ-5700) Order FOP PDF reports lose parameters after browser refresh

    [ https://issues.apache.org/jira/browse/OFBIZ-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14254570#comment-14254570 ] 

Divesh Dutta commented on OFBIZ-5700:
-------------------------------------

I think this issue is not valid. Once you generate the report/PDF, you have generated it for some purpose. Then you may take below given actions:
1)  You will take print out of this report for your reference. 
2)  You will get all the informations you needed and close the report.
3) You save soft copy of report for future reference. 

Why will some one refresh the report? 

By the way this is working on Chrome (may be Chrome is caching the data) , but not in Firefox. 

In case of Firefox I don't think we should do any thing in code to get it fixed. This is not something which is bug in OFBiz. Such behavior is general in most of the applications i.e  when you are refreshing the web page / PDF, new request is triggered and values in parameters are not persisted/preserved.  

Also field submitted as GET is not the right solution as mentioned by Christian Carlow. There can be ways to make it work using some javascript. But all those will be hacks.

I think we should close this issue. 



> Order FOP PDF reports lose parameters after browser refresh
> -----------------------------------------------------------
>
>                 Key: OFBIZ-5700
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5700
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>            Assignee: Jacques Le Roux
>
> To reproduce:
> 1.  Navigate to ordermgr/control/OrderPurchaseReportOptions
> 2.  Specify a date range for one of the reports and submit to generate
> 3.  Refresh the report in the browser
> 4.  Notice the date range report parameters are lost after refresh



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)