Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018776Openbravo ERPA. Platformpublic2011-10-14 10:192011-11-03 18:20
iperdomo 
alostale 
immediatemajoralways
closedfixed 
20Professional Appliance
3.0MP3 
3.0MP5 
Internet Explorer, Mozilla Firefox
Core
No
0018776: Demo login page: Error 500 when changing the localization
Note: Only happens in Firefox (i tested it in Chrome and it works)

When you change the localization pack you get an error 500. Attached you'll find the body response of the XHR request, and the alert message.
* Go to: http://demo.openbravo.com [^]
* Change the localization pack
* See the error
Regression
txt hxr-body.txt (2,405) 2011-10-14 10:19
https://issues.openbravo.com/file_download.php?file_id=4641&type=bug
png error-demo1.png (56,162) 2011-10-14 10:19
https://issues.openbravo.com/file_download.php?file_id=4642&type=bug
png
Issue History
2011-10-14 10:19iperdomoNew Issue
2011-10-14 10:19iperdomoAssigned To => mirurita
2011-10-14 10:19iperdomoFile Added: hxr-body.txt
2011-10-14 10:19iperdomoWeb browser => Mozilla Firefox
2011-10-14 10:19iperdomoModules => Core
2011-10-14 10:19iperdomoFile Added: error-demo1.png
2011-10-14 10:23iperdomoWeb browserMozilla Firefox => Mozilla Firefox
2011-10-14 10:23iperdomoAssigned Tomirurita => shuehner
2011-10-14 10:39iperdomoNote Added: 0041827
2011-10-14 10:39iperdomoWeb browserMozilla Firefox => Internet Explorer, Mozilla Firefox
2011-10-14 13:03miruritaAssigned Toshuehner => alostale
2011-10-14 13:04miruritaNote Added: 0041839
2011-10-14 13:24miruritaTag Attached: Regression
2011-10-18 12:04iperdomoWeb browserInternet Explorer, Mozilla Firefox => Internet Explorer, Mozilla Firefox
2011-10-18 12:04iperdomoCategoryZ. Others => A. Platform
2011-10-18 12:04iperdomoTarget Version => 3.0MP5
2011-10-18 14:54shuehnerWeb browserInternet Explorer, Mozilla Firefox => Internet Explorer, Mozilla Firefox
2011-10-18 14:54shuehnerNote Added: 0041878
2011-10-18 14:54shuehnerPriorityurgent => immediate
2011-10-18 14:55shuehnerIssue Monitored: shuehner
2011-10-18 17:47hgbotCheckin
2011-10-18 17:47hgbotNote Added: 0041910
2011-10-18 17:47hgbotStatusnew => resolved
2011-10-18 17:47hgbotResolutionopen => fixed
2011-10-18 17:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3bea3a10622ac1cf2efad5d288be4605ee7e2933 [^]
2011-10-23 13:42hudsonbotCheckin
2011-10-23 13:42hudsonbotNote Added: 0042015
2011-11-03 18:20iperdomoNote Added: 0042512
2011-11-03 18:20iperdomoStatusresolved => closed

Notes
(0041827)
iperdomo   
2011-10-14 10:39   
Also happens in IE 9
(0041839)
mirurita   
2011-10-14 13:04   
[In MP1 it worked.]

when trying to get the identifier defined for the Entity the following method fails.

org.openbravo.base.structure.BaseOBObject

public String getIdentifier() {
  return IdentifierProvider.getInstance().getIdentifier(this);
}

Realize that is called before the used is logged (not sure if this matters).
(0041878)
shuehner   
2011-10-18 14:54   
Raising priority because of visibility of the issue (first page people ever see)
(0041910)
hgbot   
2011-10-18 17:47   
Repository: erp/devel/pi
Changeset: 3bea3a10622ac1cf2efad5d288be4605ee7e2933
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Oct 18 17:46:19 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3bea3a10622ac1cf2efad5d288be4605ee7e2933 [^]

fixed bug 18776, fixed bug 18489: getIdentifier doesn't work without OBContext

---
M src/org/openbravo/base/structure/IdentifierProvider.java
---
(0042015)
hudsonbot   
2011-10-23 13:42   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/35bf0a7aa166 [^]

Maturity status: Test
(0042512)
iperdomo   
2011-11-03 18:20   
Tested on pi @ rev a5c64b5081f5