Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020827 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | critical | always | 2012-06-21 16:33 | 2012-06-27 05:29 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0MP13 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 4152ff6e040d | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0049995) alostale (viewer) 2012-06-21 16:38 |
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 (developer) 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 --- |
(0050044) AugustoMauch (administrator) 2012-06-22 17:17 |
Code reviewed and verified in pi@f06b2e72932e |
(0050155) hudsonbot (viewer) 2012-06-27 05:29 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf3a7135839f [^] Maturity status: Test |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |