Bug 1029547

Summary: Comment not used when deleting an asset
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: manstis
Status: CLOSED NOTABUG QA Contact: Zuzana Krejčová <zkrejcov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: lpetrovi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-25 14:47:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
git log for deleted file ("Dummy rule.drl")
none
Re-created asset ("Dummy rule.drl") showing delete comment in history none

Description Zuzana Krejčová 2013-11-12 15:09:35 UTC
Description of problem:
When deleting an asset, the 'Check in comment' the user is prompted for is never used, even when filled in.
If you delete an asset and fill in 'No longer necessary.' as the comment, the commit message in the underlying git will read 'delete {/<project>/<path>/<package>/<file>}' anyway.
The same is visible if you recreate the asset and look into the Version history.


Version-Release number of selected component (if applicable):
BPMS 6.0 ER4

Comment 1 manstis 2013-11-25 14:47:17 UTC
Using the latest codebase (master/.Final community) I cannot replicate this bug.

Deleting a file through the UI leads to the attached git log. Furthermore re-creating the same asset leads to the attached history in the UI.

Comment 2 manstis 2013-11-25 14:47:53 UTC
Created attachment 828713 [details]
git log for deleted file ("Dummy rule.drl")

Comment 3 manstis 2013-11-25 14:48:33 UTC
Created attachment 828714 [details]
Re-created asset ("Dummy rule.drl") showing delete comment in history