Article - CS236100

Deleting a Workspace causes "Deleting is not allowed since it is changed by a task" error within the Event Manager in Windchill PDMLink

Modified: 27-Nov-2018   


Applies To

  • Windchill PDMLink 10.2 to 11.1

Description

  • Deleting a workspace in Windchill PDMLink causes an error in Event Manager: Deleting is not allowed since it is changed by a task
  • Workspace appears empty but there is an error when attempting to delete it
  • The MethodServer log reports the following:
(wt.change2.change2Resource/52) wt.change2.ChangeException2: You cannot delete an object that has been changed by a change task.
    at wt.change2.handler.DefaultChangeablePreDeleteHandler.generateChangeableException(DefaultChangeablePreDeleteHandler.java:188)
    at wt.change2.handler.DefaultChangeablePreDeleteHandler.checkDeleteOfChangeableCollection(DefaultChangeablePreDeleteHandler.java:101)
    at wt.change2.listeners.ChangePreDeleteEventHandler.notifyVetoableMultiObjectEvent(ChangePreDeleteEventHandler.java:105)
    at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:298)
    at wt.events.StandardKeyedEventBranch.dispatchVetoableMultiObjectEvent(StandardKeyedEventBranch.java:263)
    at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:288)
    at wt.events.StandardKeyedEventDispatcher.dispatchVetoableMultiObjectEvent(StandardKeyedEventDispatcher.java:231)
    at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:408)
    at wt.services.StandardManagerService.dispatchVetoableMultiObjectEvent(StandardManagerService.java:313)
    at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2969)
    at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2952)
    at wt.fc.StandardPersistenceManager.delete(StandardPersistenceManager.java:825)
    at sun.reflect.GeneratedMethodAccessor837.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
    at com.sun.proxy.$Proxy8.delete(Unknown Source)
    at wt.folder.StandardFolderService.cleanupLink(StandardFolderService.java:2023)
...
This is a printer-friendly version of Article 236100 and may be out of date. For the latest version click CS236100