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

Jacques Le Roux commented on OFBIZ-9194:
----------------------------------------

Fixed in another way at  revision: 1781218:

The solution I provided with revision: 1781218 was wrong. A really satisfying 
solution would be to gray the "Send" button on the 
birt/control/CreateFlexibleReport page. But that's not something easy to do 
because it's generated from a content. 

So I decided to remove the part in the PrepareBirtCall.groovy and add an 
indication in the BirtErrorNotPublishedReport for users to use their browser  
back button. Because you catch a ViewHandlerException in  
RequestHandler.renderView() and there is not much you can do at this stage...

> After creating a new Flexible Birt report, before visualising it you need to 
> do other actions
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-9194
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9194
>             Project: OFBiz
>          Issue Type: Bug
>          Components: birt
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: Upcoming Release
>
>
> After creating a new Flexible Birt report, before visualising it you need to 
> add the data set fields with the Birt Report Designer and publish the report.
> So the "Send" button of the "Preview" form on the "Edit report" page should 
> be grayed/unavailable before the report has been plublished. If it's then not 
> correctly done that's an user problem. 
> This should also be clearly documented, hence related with OFBIZ-9188



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to