Project

General

Profile

Bug #4852

Documentation => Remove Customization doesn't work

Added by Derik Barseghian over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
documentation
Target version:
Start date:
02/26/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4852

Description

If you Customize Documentation on a workflow or an actor, Remove Customization doesn't remove it.


Related issues

Blocked by Kepler - Bug #4072: Rework Section 3Resolved05/18/2009

History

#1 Updated by Derik Barseghian over 9 years ago

This is kepler-specific, it works in vergil.

#2 Updated by Derik Barseghian over 9 years ago

I wonder if this ever worked in Kepler? It doesn't in 1.0. I'm having trouble finding where/how the documentation may have ever been reset to its original state, in Kepler. ptolemy's RemoveCustomDocumentationAction actionPerformed just removes a DocAttribute on the NamedObj, if it exists...it doesn't do anything with any potential KeplerDocumentationAttribute. If I do the same for any potential KeplerDocumentationAttribute in this actionPerformed, it does indeed get removed, but the next time you view the documentation on the NamedObj, there's just none -- nothing has been reset or regenerated to its original state afaict.

#3 Updated by Chad Berkley over 9 years ago

It did work at one point. It just removed the kepler documentation and let it default to the ptolemy docs. If there was no kepler documentation, it didn't do anything.

#4 Updated by Derik Barseghian over 9 years ago

I've got a local fix for this that seems to be working pretty well. I'm going to test it some more before check in.

#5 Updated by Derik Barseghian over 9 years ago

fixed in r23336 (trunk) and r23339 (2.0).

#6 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4852

Also available in: Atom PDF