Bug 809944

Summary: Guvnor work item editor generates wrong URLs to icons for service tasks
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Svitak <jsvitak>
Component: jBPM 5Assignee: Ryan Zhang <rzhang>
Status: VERIFIED --- QA Contact: Sona Mala <smala>
Severity: medium Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: atangrin, lpetrovi, mbaluch
Target Milestone: ER7Keywords: Regression
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:    
Bug Blocks: 1080634    

Description Jiri Svitak 2012-04-04 17:31:11 UTC
BRMS ER5 Guvnor work item editor generates wrong URLs to icons for service tasks. In the work item palette, you can choose from available icons and the work item editor generates a URL for that icon in the position of cursor. However generated url 

http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/defaultemailicon/binary

contains 'drools-guvnor' which comes from community project. You have to retype it to 'jboss-brms'. Most likely user does not notice that retyping is necessary. New Service Task is available in Designer, but it lacks its icon. BRMS user should not be confused with that.

Comment 1 Tihomir Surdilovic 2012-04-11 23:55:48 UTC
The URL is configurable now. Added new property in Guvnors preferences.properties:

guvnor.url=http://localhost:8080/drools-guvnor

You can change this to 

guvnor.url=http://localhost:8080/jboss-brms

for the product.

Comment 2 Ryan Zhang 2012-04-23 07:37:01 UTC
Update status to ON_QA. Please verify them against ER6.

Comment 3 Jiri Svitak 2012-04-25 09:07:45 UTC
Not fixed in BRMS 5.3.0 ER6. The change above in preference.properties file should have been done by productization team. Reassigning to Ryan.

Comment 4 Ryan Zhang 2012-04-25 11:31:53 UTC
Thanks Jiri.
This is fixed in product branch now. Update the status.

Comment 5 Ryan Zhang 2012-05-14 08:16:35 UTC
The fixed for this issue should be included in ER7. Please do verification on it.

Comment 6 Sona Mala 2014-07-02 10:55:24 UTC
The "preferences.properties" contains a wrong default value of the "guvnor.url" property in 5.3.1.BRMS-P05.

This property contains community URL not product URL.

Comment 7 Petr Široký 2014-07-17 09:11:11 UTC
The property value should be fixed with the latest build. Sona, could you please verify?

Comment 8 Sona Mala 2014-07-17 15:30:38 UTC
The file "BZ-1080634.zip" contains jboss-brms.war/WEB-INF/classes/preferences.properties with the correct URL (http://localhost:8080/jboss-brms).