Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020827 | Openbravo ERP | A. Platform | public | 2012-06-21 16:33 | 2012-06-27 05:29 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | immediate | Severity | critical | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP13 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Pre packaging ( pi ) |
Regression date | 2012-06-15 |
Regression introduced in release | |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/2c50e12c22aaa63d3b8660262965ff6687540713 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0020827: Not possible to add new columns to ad_column table |
Description | When adding any new column to ad_column table this error is raised:
Not allowed column name "Length" is a reserved java keyword. |
Steps To Reproduce | -Add a new column in DB to ad_column
-In Tables and Column window execute Create columns from DB process -> error is raisen |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0020365 | 3.0MP13 | closed | migueldejuana | 'Length' word is not included on AD_ISJAVAWORD function to avoid to use it on column names |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-06-21 16:33 | alostale | New Issue | |
2012-06-21 16:33 | alostale | Assigned To | => alostale |
2012-06-21 16:33 | alostale | Modules | => Core |
2012-06-21 16:33 | alostale | OBNetwork customer | => No |
2012-06-21 16:34 | alostale | Relationship added | related to 0020365 |
2012-06-21 16:36 | alostale | Regression level | => Pre packaging ( pi ) |
2012-06-21 16:36 | alostale | Regression date | => 2012-06-15 |
2012-06-21 16:36 | alostale | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/2c50e12c22aaa63d3b8660262965ff6687540713 [^] |
2012-06-21 16:38 | alostale | Note Added: 0049995 | |
2012-06-22 09:00 | hgbot | Checkin | |
2012-06-22 09:00 | hgbot | Note Added: 0050007 | |
2012-06-22 09:00 | hgbot | Status | new => resolved |
2012-06-22 09:00 | hgbot | Resolution | open => fixed |
2012-06-22 09:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4152ff6e040d482c19c62666ac07433caa412079 [^] |
2012-06-22 17:17 | AugustoMauch | Note Added: 0050044 | |
2012-06-22 17:17 | AugustoMauch | Status | resolved => closed |
2012-06-22 17:17 | AugustoMauch | Fixed in Version | => 3.0MP13 |
2012-06-27 05:29 | hudsonbot | Checkin | |
2012-06-27 05:29 | hudsonbot | Note Added: 0050155 | |
Notes |
|
|
The problem is there are already columns with name 'length'. As per issue 0020365, the only check that should be performed is ad_column.columnname, the rest of checks: ad_column.name, field, element are unneeded and cause this issue. |
|
|
(0050007)
|
hgbot
|
2012-06-22 09:00
|
|
Repository: erp/devel/pi
Changeset: 4152ff6e040d482c19c62666ac07433caa412079
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 22 08:58:59 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4152ff6e040d482c19c62666ac07433caa412079 [^]
fixed bug 20827: Not possible to add new columns to ad_column table
related to bug 20365
Partially backed out fix 0020365: field and element are not checked,
just ad_column.columnname is checked with a different function to allow names
that can be included for ad_colum.name.
---
M src-db/database/model/functions/AD_ISJAVAWORD.xml
M src-db/database/model/triggers/AD_COLUMN_TRG2.xml
M src-db/database/model/triggers/AD_ELEMENT_TRG.xml
M src-db/database/model/triggers/AD_FIELD_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
A src-db/database/model/functions/AD_ISJAVASCRIPTWORD.xml
---
|
|
|
|
Code reviewed and verified in pi@f06b2e72932e |
|
|
|
|