Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013649 | Openbravo ERP | A. Platform | public | 2010-06-14 16:07 | 2012-03-02 15:34 |
Reporter | rafaroda | ||||
Assigned To | marvintm | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | Community Appliance | |
Product Version | 2.50MP18 | ||||
Target Version | 3.0MP9 | Fixed in Version | 3.0MP9 | ||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0013649: Exclude Audit Info does not apply to children business object | ||||
Description | Exclude Audit Info does not apply to children business object. When defining a dataset and select: * the table where it does apply * whether the table is a business object (to select children information - header/lines) * whether you want audit info to be exported If you tick both "Exclude Audit Info" and "IsBusinessObject" check-boxes, you want, for instance, roles to be exported with their allowed windows, processes and forms, all this without audit info. But when you inspect the data set or try to apply it in a new client (via Initial Client Setup), the process fails because audit information has been exported for children tables of the role table. Some documentation: * Dataset theory 1 http://wiki.openbravo.com/wiki/Projects/Modularity/Reference_Data#Data_Sets [^] * Dataset theory 2 http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Concepts/AD/Dataset [^] * Dataset example 1 http://wiki.openbravo.com/wiki/Localization_Process#Creating_a_standard_reference_data_module [^] * Dataset example 2 http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/How_to_create_a_dataset [^] | ||||
Steps To Reproduce | Logged as an Entity Administrator: 1) Create new role @ General Setup || Security || Role * Name: Sales Role * Select User Level: Client/Organization * Manual: ticked - Yes 2) Click on the Grant Access button and select: * Module: Sales Management * Access To: All Logged as a System Administrator: 1) Create a new module @ Application Dictionary || Module * Name: Roles Module * Has Reference Data: ticked - Yes 2) Create a new dataset @ Application Dictionary || Dataset * Name: Roles * Data Access Level: System/Client 3) In Table tab: * Table: AD_Role * Module: Roles Module * SQL Where Clause (replace by the Entity ID where you created the role): client.id='3919778CCEDA4DF796AB931292B6854F' * Exclude Audit Info: ticked - Yes * IsBusinessObject: ticked - Yes 4) Go back to dataset header and click on Export Reference Data 5) Do an Initial Client Setup selecting this Role reference data @ General Setup || Client || Initial Client Setup You will get the error message. In log a3196480 13:27:33 [ajp-8009-2] INFO org.openbravo.erpCommon.utility.ErrorTextParserPOSTGRE - did not find constraint name for error message: Referenced object ADUser (id: null / ADUser7FF9791D513B4B78BEE5F4F821F71D66) not present in the xml or in the database. | ||||
Proposed Solution | Workaround: in the dataset referencedata XMl file remove all the lines looking like: * <createdBy transient="true" ... * <updatedBy transient="true" ... | ||||
Additional Information | |||||
Tags | dev-platform-quick-wins, OB3-Reviewed | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-06-14 16:07 | rafaroda | New Issue | |||
2010-06-14 16:07 | rafaroda | Assigned To | => alostale | ||
2010-06-14 16:08 | rafaroda | Assigned To | alostale => marvintm | ||
2010-06-23 10:35 | alostale | Status | new => scheduled | ||
2010-06-23 10:35 | alostale | fix_in_branch | => pi | ||
2010-08-30 15:37 | rafaroda | Tag Attached: dev-platform-quick-wins | |||
2011-10-28 20:18 | iciordia | Tag Attached: OB3-Reviewed | |||
2012-01-11 18:03 | hgbot | Checkin | |||
2012-01-11 18:03 | hgbot | Note Added: 0044278 | |||
2012-01-11 18:03 | hgbot | Status | scheduled => resolved | ||
2012-01-11 18:03 | hgbot | Resolution | open => fixed | ||
2012-01-11 18:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f73c0354c932034fbfa3d5a7cd1c274e631b45e6 [^] | ||
2012-01-12 09:33 | hgbot | Checkin | |||
2012-01-12 09:33 | hgbot | Note Added: 0044282 | |||
2012-01-12 09:37 | hgbot | Checkin | |||
2012-01-12 09:37 | hgbot | Note Added: 0044283 | |||
2012-01-12 09:37 | hgbot | Checkin | |||
2012-01-12 09:37 | hgbot | Note Added: 0044284 | |||
2012-01-14 21:21 | hudsonbot | Checkin | |||
2012-01-14 21:21 | hudsonbot | Note Added: 0044375 | |||
2012-01-14 21:21 | hudsonbot | Checkin | |||
2012-01-14 21:21 | hudsonbot | Note Added: 0044376 | |||
2012-01-14 21:21 | hudsonbot | Checkin | |||
2012-01-14 21:21 | hudsonbot | Note Added: 0044377 | |||
2012-01-14 21:21 | hudsonbot | Checkin | |||
2012-01-14 21:21 | hudsonbot | Note Added: 0044378 | |||
2012-01-25 10:16 | marvintm | Note Added: 0044545 | |||
2012-01-25 10:16 | marvintm | Status | resolved => new | ||
2012-01-25 10:16 | marvintm | Resolution | fixed => open | ||
2012-01-25 10:17 | marvintm | Target Version | => 3.0MP9 | ||
2012-01-25 10:17 | marvintm | fix_in_branch | pi => | ||
2012-02-02 13:13 | hgbot | Checkin | |||
2012-02-02 13:13 | hgbot | Note Added: 0044809 | |||
2012-02-02 13:13 | hgbot | Status | new => resolved | ||
2012-02-02 13:13 | hgbot | Resolution | open => fixed | ||
2012-02-02 13:13 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/f73c0354c932034fbfa3d5a7cd1c274e631b45e6 [^] => http://code.openbravo.com/erp/devel/pi/rev/8fd235980bfd0abd379386ff9b371af67aefc172 [^] | ||
2012-02-09 16:20 | marvintm | Note Added: 0044968 | |||
2012-02-21 10:42 | alostale | Note Added: 0045299 | |||
2012-02-21 10:42 | alostale | Status | resolved => closed | ||
2012-02-21 10:42 | alostale | Fixed in Version | => 3.0MP9 | ||
2012-03-02 15:34 | hudsonbot | Checkin | |||
2012-03-02 15:34 | hudsonbot | Note Added: 0045732 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|