Bug #4852
closed
Documentation => Remove Customization doesn't work
Added by Derik Barseghian over 14 years ago.
Updated over 14 years ago.
Description
If you Customize Documentation on a workflow or an actor, Remove Customization doesn't remove it.
This is kepler-specific, it works in vergil.
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.
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.
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.
fixed in r23336 (trunk) and r23339 (2.0).
Original Bugzilla ID was 4852
Also available in: Atom
PDF