Why do I get error "E03020678: Cannot remove <filename> on trunk, there is an open branch for this item/path with this package already" when trying to commit the deletion of a branch version to repository?

Document ID : KB000053479
Last Modified Date : 14/02/2018
Show Technical Document Details
on trunk, there is an open branch for this item/path with this package already" when trying to commit the deletion of a branch version to repository?" />

Description:

Although user is the only person working on a particular file and is trying to commit the deletion of the latest branch version to repository, the user is getting error "E03020678: Cannot remove <filename> on trunk, there is an open branch for this item/path with this package already". Why is this happening?

Solution:

  1. Verify in CA Software Change Manager (SCM) Admin GUI that the Remove Item process on Branch is given execution rights to the particular user.

  2. Verify in Eclipse Workarea the context for the Eclipse project whether the Remove Item process has got "On trunk" ticked.

    To verify the context please right-mouse click on the project (e.g. in Navigator view) --> Team --> Edit Context. Expand the CA SCM Processes and verify whether "On Trunk" is ticked. If it is checked, uncheck it, as the default delete item process else is looking to delete the trunk version.