Bug #4852
closedDocumentation => Remove Customization doesn't work
0%
Description
If you Customize Documentation on a workflow or an actor, Remove Customization doesn't remove it.
Related issues
Updated by Derik Barseghian almost 15 years ago
This is kepler-specific, it works in vergil.
Updated by Derik Barseghian almost 15 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.
Updated by Chad Berkley almost 15 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.
Updated by Derik Barseghian almost 15 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.
Updated by Derik Barseghian almost 15 years ago
fixed in r23336 (trunk) and r23339 (2.0).