This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 138657 - Report Generator needs to provide feedback; diagram cut off
Summary: Report Generator needs to provide feedback; diagram cut off
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: IEP editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ritesh Adval
URL:
Keywords:
Depends on:
Blocks: 138046
  Show dependency tree
 
Reported: 2008-06-30 19:53 UTC by Ritesh Adval
Modified: 2008-10-23 17:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
report cut off (18.45 KB, application/pdf)
2008-06-30 19:55 UTC, Ritesh Adval
Details
PDF of wide process diagram (no links defined) (151.20 KB, application/pdf)
2008-09-17 22:51 UTC, jlautz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ritesh Adval 2008-06-30 19:53:26 UTC
The generate report button works great but I get no confirmation that it worked. The pdf file does get placed in my 
project tree on the left but I can easily miss one little file appearing on the left and I will keep clicking the 
generate report button wondering why its not working.
Also in the attached PDF my diagram got cut off.
Comment 1 Ritesh Adval 2008-06-30 19:55:32 UTC
Created attachment 63703 [details]
report cut off
Comment 2 Ritesh Adval 2008-09-11 22:35:20 UTC
started
Comment 3 Ritesh Adval 2008-09-15 23:11:26 UTC
This is now fixed. We generate multiple pages of report if diagram is big.

The solution is as follows:

ReportCookie implementation to provide a BufferedImage for overview and this should create a image for whole
view (including the one which is not visible on the diagram)
 
see org.netbeans.modules.iep.editor.designer.cookies.PlanReportCookie in iep editor.

A fix is made in pdf report generator to walk width wise first then height wise of the image and creating multiple 
page report of image.
Comment 4 jlautz 2008-09-17 22:49:08 UTC
Retested on Windows Vista with NB 6.1 + Patch 3 and IEP *.nbms installed from sierra build080917_1

This was a multipart bug:
1. Multiple pages for a big diagram. This is not fixed in the sierra Build080917_1. Sample attached.

2. No feedback that the button push to create a pdf is doing anything. On my machine, the .pdf file takes at least 5
seconds to appear in the Projects or Files pane. I get no feedback about status until the .pdf file appears.
==> This does not seem to have been addressed.

Comment 5 jlautz 2008-09-17 22:51:05 UTC
Created attachment 70064 [details]
PDF of wide process diagram (no links defined)
Comment 6 Ritesh Adval 2008-09-17 23:36:19 UTC
The fix was in report generator module, so you need to get this nbm org-netbeans-modules-soa-reportgenerator.nbm 
from http://download.java.net/jbi/binaries/open-esb-full-install/nbm/latest/ and install it and
then try.
Comment 7 jlautz 2008-09-18 00:14:15 UTC
Are we adding this module to list of required IEP modules?
Comment 8 Ritesh Adval 2008-09-23 01:29:17 UTC
org-netbeans-modules-soa-reportgenerator.nbm  is added as required module. I am closing this now.
Comment 9 jlautz 2008-10-23 17:42:51 UTC
Verified with Java CAPS 6 with NB 6.1 Patch 4 applied, and IEP *.jar and *.nbm artifacts installed from soarelease
builds 20081022_1.

Works as described as long as updated org-netbeans-modules-soa-reportgenerator.nbm is installed.