Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0021426 | Openbravo ERP | A. Platform | public | 2012-08-23 09:10 | 2012-08-29 17:14 |
Reporter | mtaal | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 3.0MP15 | Fixed in Version | 3.0MP15 | ||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0021426: Adding computed property in a view gives an error in the hibernate mapping | ||||
Description | When adding a property to a view you get an error in the hibernate mapping: export.database: export.database.structure: Initializing in-memory model... Building runtime model Model read in-memory, generating mapping... Error parsing XML (3827) : Attribute "update" was already specified for element "property". Unable to read XML The wrong mapping (see the 2 occurrences of the update property): <property name="eGOB" access="org.openbravo.dal.core.OBDynamicPropertyHandler" type="java.lang.String" formula="(SELECT CASE WHEN i.posted = 'Y' THEN 'Yes' ELSE 'No' END from aprm_finacc_transaction_v AS i WHERE i.aprm_finacc_transaction_v_ID = aprm_finacc_transaction_v_id)" update="false" insert="false" update="false" insert="false"/> | ||||
Steps To Reproduce | Add a computed property to a view and then do export.database or another dal related task. http://wiki.openbravo.com/wiki/How_to_create_a_Computed_Column [^] | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-08-23 09:10 | mtaal | New Issue | |||
2012-08-23 09:10 | mtaal | Assigned To | => mtaal | ||
2012-08-23 09:10 | mtaal | Modules | => Core | ||
2012-08-23 09:10 | mtaal | OBNetwork customer | => No | ||
2012-08-23 09:19 | mtaal | Note Added: 0051480 | |||
2012-08-23 09:20 | mtaal | Closed by | => marvintm | ||
2012-08-23 09:30 | hgbot | Checkin | |||
2012-08-23 09:30 | hgbot | Note Added: 0051481 | |||
2012-08-23 09:30 | hgbot | Checkin | |||
2012-08-23 09:30 | hgbot | Note Added: 0051482 | |||
2012-08-23 09:30 | hgbot | Status | new => resolved | ||
2012-08-23 09:30 | hgbot | Resolution | open => fixed | ||
2012-08-23 09:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/83a3b7b37c1d5766a00716d89e7de590c9c2ff52 [^] | ||
2012-08-29 17:14 | marvintm | Status | resolved => closed | ||
2012-08-29 17:14 | marvintm | Fixed in Version | => 3.0MP15 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|