Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008493Openbravo ERPA. Platformpublic2009-04-07 22:352009-04-30 00:00
mtaal 
mtaal 
urgentmajorhave not tried
closedfixed 
5
pi 
pi2.50MP1 
Core
No
0008493: Import client can not be run by normal client administrator
Normal client administrators can not run import client. They need to be system administrator to do this. However, the import client is available in the menu of the client administrator. When a client administrator runs import client then he/she gets a strange error message about an incorrect organisation for a client object.
250MP1, main
rar client_data.rar (226,259) 2009-04-28 20:02
https://issues.openbravo.com/file_download.php?file_id=1239&type=bug
png different_system_administrator.PNG (35,564) 2009-04-28 20:02
https://issues.openbravo.com/file_download.php?file_id=1240&type=bug
png
Issue History
2009-04-07 22:35mtaalNew Issue
2009-04-07 22:35mtaalAssigned To => mtaal
2009-04-07 22:35mtaalRegression testing => No
2009-04-08 11:13hgbotCheckin
2009-04-08 11:13hgbotNote Added: 0015270
2009-04-08 11:13hgbotStatusnew => resolved
2009-04-08 11:13hgbotResolutionopen => fixed
2009-04-08 11:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b47e532dc4a856ae67d0c5c73853542763112419 [^]
2009-04-22 11:23psarobeTag Attached: main
2009-04-28 20:00psarobeStatusresolved => new
2009-04-28 20:00psarobeResolutionfixed => open
2009-04-28 20:00psarobeNote Added: 0015884
2009-04-28 20:01psarobePrioritynormal => urgent
2009-04-28 20:01psarobeStatusnew => scheduled
2009-04-28 20:01psarobeTag Attached: 250MP1
2009-04-28 20:02psarobeFile Added: client_data.rar
2009-04-28 20:02psarobeFile Added: different_system_administrator.PNG
2009-04-29 19:49psarobeStatusscheduled => resolved
2009-04-29 19:49psarobeResolutionopen => fixed
2009-04-29 19:49psarobeStatusresolved => closed
2009-04-30 00:00anonymoussf_bug_id0 => 2783991

Notes
(0015270)
hgbot   
2009-04-08 11:13   
Repository: erp/devel/pi
Changeset: b47e532dc4a856ae67d0c5c73853542763112419
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Apr 08 11:12:40 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b47e532dc4a856ae67d0c5c73853542763112419 [^]

Fixes issue 8493: Import client can not be run by normal client administrator

---
M src-test/org/openbravo/test/xml/EntityXMLImportTestReference.java
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
M src/org/openbravo/base/secureApp/LoginUtils.java
M src/org/openbravo/dal/core/DalThreadHandler.java
M src/org/openbravo/dal/core/OBContext.java
M src/org/openbravo/dal/core/TriggerHandler.java
M src/org/openbravo/dal/xml/EntityResolver.java
M src/org/openbravo/erpCommon/utility/Utility.java
M src/org/openbravo/service/db/ClientImportEntityResolver.java
M src/org/openbravo/service/db/DataExportService.java
M src/org/openbravo/service/db/DataImportService.java
M src/org/openbravo/service/rest/DalWebService.java
---
(0015884)
psarobe   
2009-04-28 20:00   
Martin not clear what's the expected behavior after you fix the bug. Anyway I tried to import the client with a different role than system administrator and got this error. See attach and also uploaded the client.xml