Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027882Openbravo ERPA. Platformpublic2014-10-16 09:002014-12-30 23:26
normaltrivialhave not tried
0027882: Invalid request from "Welcome to Openbravo 3" widget
In activated production instances, "Welcome to Openbravo 3" widget does an invalid request to show purpose banner.
-Activate an instance setting it as Production
-Log in the application
-Check the Welcome to Openbravo 3 widget in workspace:
  * It does not show a banner with instance purpose (it does for other purposes, see attached image)
  * Looking at the requests you can see a GET to /utility/ShowImageLogo?logo=banner-production -> 404 (not found)
* Fix relative url (it should be one level less deep)
* Check with other purposes to ensure all of them are ok
No tags attached.
png Selection_123.png (28,458) 2014-10-16 09:01
Issue History
2014-10-16 09:00alostaleNew Issue
2014-10-16 09:00alostaleAssigned To => inigosanchez
2014-10-16 09:00alostaleModules => Core
2014-10-16 09:00alostaleTriggers an Emergency Pack => No
2014-10-16 09:01alostaleFile Added: Selection_123.png
2014-10-16 11:48shuehnerIssue Monitored: shuehner
2014-11-10 10:52alostaleAssigned Toinigosanchez => NaroaIriarte
2014-11-18 15:01NaroaIriarteReview Assigned To => alostale
2014-11-24 09:42hgbotCheckin
2014-11-24 09:42hgbotNote Added: 0071917
2014-11-24 09:42hgbotStatusnew => resolved
2014-11-24 09:42hgbotResolutionopen => fixed
2014-11-24 09:42hgbotFixed in SCM revision => [^]
2014-11-24 09:45alostaleNote Added: 0071920
2014-11-24 09:45alostaleStatusresolved => closed
2014-11-24 09:45alostaleFixed in Version => 3.0PR15Q1
2014-12-30 23:26hudsonbotCheckin
2014-12-30 23:26hudsonbotNote Added: 0073125

2014-11-24 09:42   
Repository: erp/devel/pi
Changeset: 2c4a045dc11d500859c99f23d75126d1627d9720
Author: Naroa Iriarte <naroa.iriarte <at>>
Date: Fri Nov 21 10:53:05 2014 +0100
URL: [^]

Fixed issue 27882:Image in "Welcome to Openbravo3" widget is not shown.

When the Production instance is chosen you cannot see the "Production Banner Image" in the "Welcome to Openbravo 3" widget.
The problem was that the relative URL to get that image was wrong. The issue has been fixed by changing it in the ob-widget-styles.css.
The URL has been changed making it less deeper, from six levels to two levels deep.
This has been fixed as this way, instead of changing the URL as the other instance types url(images/purpose/banner-<instance type>.png), because in this way, the system administrator can
change the "Production Banner Image" himself.

M modules/org.openbravo.client.myob/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.myob/ob-widget-styles.css
2014-11-24 09:45   
code reviewed.

-With "Production" instance purpose:
  -If there is no "Production Banner" image in System Info, a valid request is sent responding a blank image.
  -If there is "Production Banner" image in System Info, a valid request is sent responding that image.
-Other purposes show the correct current banners
2014-12-30 23:26   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]
Maturity status: Test