Project

General

Profile

Bug #2425

Actor documentation retains information for deleted ports

Added by Josh Madin about 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Category:
documentation
Target version:
Start date:
04/24/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2425

Description

if you create a new (R) actor port and then delete it, the documentation form still retains a place for the deleted port. Because I manipulate old R actors to create new ones, I now have quite a long list of "deleted" ports on the actor documentation page.

History

#1 Updated by Nandita Mangal about 13 years ago

(In reply to comment #0)

if you create a new (R) actor port and then delete it, the documentation form
still retains a place for the deleted port. Because I manipulate old R actors
to create new ones, I now have quite a long list of "deleted" ports on the
actor documentation page.

I assume that you are talking about adding new port (from the code) and not on the canvas? (correct me if i am wrong)...
If that is the case, do you regenerate the actor documentation via ant generateDoc and does that remove the "deleted"ports.

#2 Updated by Dan Higgins about 13 years ago

No, Josh was adding port from the canvas (specialized version of the R actor). He added custom documentation, then deleted some of the ports (again from the canvas) and then discovered that the custom docs still appeared. Note that this documentation is stored inside the MOML rather than in java code.

#3 Updated by Nandita Mangal about 13 years ago

Thanks for the clarification. The bug appeared in both Ptolemy and Kepler systems and Edward has checked in the fixes.

Edward wrote:

I have checked in the fix for this bug into the PtII CVS.

I also fixed a similar bug with parameters (if you added
a parameter, documented it, and later deleted it, the parameter
continued to be represented in the DocAttribute).

I also fixed another bug where if you did the above while
a model was executing, you would get an exception. Now,
customization of documentation always occurs within a change request.

#4 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 2425

Also available in: Atom PDF