-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Hudson 2.1.0
Base ClearCase
When a project is deleted from the UI, the plugin tries to remove the view tag twice. The first succeeds, but the second one fails dumping a stack trace in the log. That error message (and the stack trace) is confusing and put me on a ghost hunt trying to understand what went wrong. But nothing was really wrong wrt ClearCase.
First, the plugin removes the view tag in AbstractClearCaseScm.processWorkspaceBeforeDeletion() and then tries to remove it once again in ItemListenerImpl.onDeleted().
Comment from Vincent Latombe in private mail conversation:
"AbstractClearCaseScm.processWorkspaceBeforeDeletion() is called when a workspace is deleted (which can happen if a workspace hasn't been used for a while, or if it is requested via web ui)
ItemListenerImpl.onDeleted() is called when the job is deleted.
In my opinion both are needed."