Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006636Openbravo ERPA. Platformpublic2008-12-18 09:422009-03-09 09:07
alostale 
mtaal 
normalmajoralways
closedfixed 
5
 
2.50 
Core
No
0006636: It is not possible to export a client using the UI
When trying to export a client (different than System) using the UI it is not possible because of this error:

Entity AD_Dataset is not readable by this user
-Log in as Openbravo Admin
-Export client -> the described error is raised
There are two possible approaches to solve this problem:

1. System Administrator is the only role allowed to export clients:
In this case when asking for the client to be exported the complete list of clients should be displayed.

2. Each role is allowed to export its client's data:
In this case the current UI is correct but the process should set the context as administrator mode: OBContext.getOBContext.setInAdministratorMode(true);
platform1_sprint1
Issue History
2008-12-18 09:42alostaleNew Issue
2008-12-18 09:42alostaleAssigned To => mtaal
2008-12-18 09:42alostalesf_bug_id0 => 2444672
2008-12-18 09:42alostaleRegression testing => No
2008-12-18 09:42alostaleTag Attached: platform1_sprint1
2008-12-20 00:04svnbotCheckin
2008-12-20 00:04svnbotNote Added: 0011624
2008-12-20 00:04svnbotStatusnew => resolved
2008-12-20 00:04svnbotResolutionopen => fixed
2008-12-20 00:04svnbotsvn_revision => 11431
2009-03-09 09:07sureshbabuStatusresolved => closed
2009-03-09 09:07sureshbabuNote Added: 0014505
2009-03-09 09:07sureshbabuFixed in Version => 2.50

Notes
(0011624)
svnbot   
2008-12-20 00:04   
Repository: openbravo
Revision: 11431
Author: mtaal
Date: 2008-12-20 00:04:14 +0100 (Sat, 20 Dec 2008)

fixes issue 6636

---
U trunk/src/org/openbravo/service/db/DataExportService.java
U trunk/src/org/openbravo/service/db/DataSetService.java
A trunk/src/org/openbravo/service/process/
A trunk/src/org/openbravo/service/process/CreatePurchaseInvoiceFromShipmentProcess.java
A trunk/src/org/openbravo/service/process/c_create_pinvoice_from_outs.txt
A trunk/src/org/openbravo/service/ui/
A trunk/src/org/openbravo/service/ui/FieldProviderWrapper.java
A trunk/src/org/openbravo/service/ui/UIService.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11431&sc=1 [^]
(0014505)
sureshbabu   
2009-03-09 09:07   
Retested working fine.