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 161122 - Documentation on a diagram is lost once the diagram is closed
Summary: Documentation on a diagram is lost once the diagram is closed
Status: RESOLVED DUPLICATE of bug 154629
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Activity (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P1 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 12:09 UTC by ieising
Modified: 2009-03-25 13:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2009-03-25 12:09:27 UTC
Hi,

When I open an Activity Diagram, click on the diagram itself and enter documentation e.g. thru the Documentation
Property. I then close the diagram and open it again, that text is lost.

When I keep the diagram open and generate a report, the documentation is part of the report. When I then close the
diagram and reopen it again, the text is gone.

Iwan
Comment 1 Sergey Petrov 2009-03-25 12:19:30 UTC
just tried with current version and it works,
what nb build do you use? was diagram marked as dirty after entering documantation, did you save it when close?
Comment 2 ieising 2009-03-25 12:34:50 UTC
I'm using dev build 2003032241535.

No, the diagram wasn't marked dirty after adding the documentation. When I add the documentation to the activity of the
diagram itself (so in the project view select the activity that would open the diagram) the documentation stays with the
activity.

Iwan
Comment 3 ieising 2009-03-25 12:35:24 UTC
Additionally good to know, the UML project was started using NB 6.5

Iwan
Comment 4 Sergey Petrov 2009-03-25 12:50:48 UTC
do you mean you open uml project created in 6.5 or install dev uml plugin on top of netbeans 6.5 or somehow else mix
installations?
can you reproduce the issue and attach message log or/and sample project?
also does "click on the diagram itself" means click in empty space in diagram editor?
Comment 5 ieising 2009-03-25 13:34:28 UTC
The project I'm working on is started using NB65 but because of this issue, I opened it in this dev build. I'll install
a virging copy of NB67 dev 200303241535 with new userdir as well and not importing any settings.

Iwan
Comment 6 ieising 2009-03-25 13:36:54 UTC
Ok, this now works... only in this dev build the generate report crashes. I've submitted the issue thru NB's mechanics
to do so.

Iwan
Comment 7 ieising 2009-03-25 13:42:24 UTC
FYI: When I open the diagrams in NB65 again, after I've verified that it works correctly in NB67 dev build 200303241535,
the documentation is gone again.

Iwan
Comment 8 Sergey Petrov 2009-03-25 13:51:50 UTC
there is an issue with documentation in 6.5 it's fixed in 6.7 and was expected to be in patch for 6.5 but somehow patch
process fails.

*** This issue has been marked as a duplicate of 154629 ***