Bug 724683 (BRMS-572)

Summary: When commenting on asset in Guvnor, the author of comment is not displayed. ModeShape used.
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Petr Široký <psiroky>
Component: BRM (Guvnor), ModeshapeAssignee: Kurt Stam <kurt.stam>
Status: CLOSED DUPLICATE QA Contact: Zuzana Krejčová <zkrejcov>
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.1.0 GACC: lpetrovi, psiroky
Target Milestone: ---   
Target Release: future   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-572
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-21 12:21:26 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:
Bug Depends On: 724795    
Bug Blocks:    
Attachments:
Description Flags
no-author-of-comment-modeshape.png none

Description Petr Široký 2011-03-23 13:04:20 UTC
Steps to Reproduce: 1. Unzip BRMS 5.1.0, install and configure modeshape.
2. Import the sample repository (or create new asset).
3. Try to add comment to some asset.

The comment is added, but the author of comment is missing.
Workaround Description: Author 
securitylevel_name: Public

When commenting on asset in Guvnor, comment is successfully added, but author of comment is not displayed. It should be displayed something like 'Comment by <username> on Wed Mar 23...' but it's displayed only 'Comment by on Wed Mar 23...' (see attached screenshot).

No error is displayed and also no exception is thrown. It's happening only when ModeShape is used. With JackRabbit username is there.

Comment 1 Petr Široký 2011-03-23 13:05:06 UTC
Attachment: Added: no-author-of-comment-modeshape.png


Comment 2 Petr Široký 2011-03-23 13:16:57 UTC
This is also happening when modifying asset and saving the changes. The field 'modified by' is empty.

Comment 3 Tihomir Surdilovic 2011-06-02 22:18:19 UTC
assigning to kurt to take a look at and provide any input

Comment 4 Kurt Stam 2011-09-19 13:49:24 UTC
This is caused by https://bugzilla.redhat.com/show_bug.cgi?id=724795. I will try to get the username set in the modeshape session.

Comment 5 Kurt Stam 2011-09-27 18:46:34 UTC
A fix for https://bugzilla.redhat.com/show_bug.cgi?id=724795 was applied to the guvnor master, and I verified that it fixes this issue.

Comment 6 Lukáš Petrovický 2011-09-30 08:58:12 UTC
VERIFIED with ER5 standalone.

Comment 7 Petr Široký 2012-03-21 12:21:26 UTC

*** This bug has been marked as a duplicate of bug 724795 ***