Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011529 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2009-11-27 13:37 | 2012-04-01 20:37 | |||
Reporter | iperdomo | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP10 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a4fce66154b0 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Windows | Database | PostgreSQL | Java version | 1.6.0_14 | |||
OS Version | XP | Database version | 8.3.7 | Ant version | 1.7.1 | |||
Product Version | 2.50MP7 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
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 | 0011529: Create columns process suggests wrong references | |||||||
Description | Create a table with a timestamp column and execute the process 'Create Columns from DB' ... The reference suggested is String and then the module validation fails: +++++++++++++++++++++++++++++++++++++++++++++++++++ Errors for Validation type: WRONG_TYPE +++++++++++++++++++++++++++++++++++++++++++++++++++ Column DBPREFIX_TABLE.TIMESTAMP_COLUMN has incorrect type, expecting VARCHAR NVARCHAR CHAR NCHAR CLOB but was TIMESTAMP Also when using datatype eg. NUMERIC(10,3) .. A numeric value with decimal positions, the suggested reference is Integer that then is mapped to a Long java type. | |||||||
Proposed Solution | Suggest: * Date/DateTime for Timestamp * Number for Numeric columns with decimal places | |||||||
Tags | OB3-Reviewed | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0043089) alostale (viewer) 2011-11-22 17:55 |
Tested in current pi: -Timestamp is working as suggested -NUMERIC(10,3) still proposing integer |
(0046103) hgbot (developer) 2012-03-06 18:11 |
Repository: erp/devel/pi Changeset: a4fce66154b0fa6cc2810953fccbb817d5c7af1e Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Feb 29 12:51:09 2012 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/a4fce66154b0fa6cc2810953fccbb817d5c7af1e [^] Fixed issue 11529: process 'Create Columns from DB' changed for Numeric suggestions The 'Create Columns from DB' process suggested Numeric with the decimal as Integer, this is solved, now suggest Number reference. User_tab_columns have been changed in order to data scale column show the correct value. --- M src-db/database/model/prescript-PostgreSql.sql --- |
(0046104) alostale (viewer) 2012-03-06 18:11 |
Code review and tested on pi@a4fce66154b0 |
(0047050) hudsonbot (viewer) 2012-04-01 20:37 |
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/640de9acc2d5 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2009-11-27 13:37 | iperdomo | New Issue | |
2009-11-27 13:37 | iperdomo | Assigned To | => alostale |
2009-11-27 13:37 | iperdomo | OBNetwork customer | => No |
2009-11-27 13:41 | iperdomo | Summary | Create columns process suggests String when using timestamp as data type => Create columns process suggests wrong references |
2009-11-27 13:41 | iperdomo | Description Updated | |
2009-11-27 13:41 | iperdomo | Steps to Reproduce Updated | |
2010-01-05 12:13 | iciordia | Priority | normal => urgent |
2010-01-05 12:13 | iciordia | Status | new => scheduled |
2011-11-22 17:55 | alostale | Note Added: 0043089 | |
2011-11-22 17:55 | alostale | Tag Attached: OB3-Reviewed | |
2012-02-21 18:02 | alostale | Assigned To | alostale => migueldejuana |
2012-02-29 11:36 | migueldejuana | Relationship added | related to 0014777 |
2012-03-06 18:11 | hgbot | Checkin | |
2012-03-06 18:11 | hgbot | Note Added: 0046103 | |
2012-03-06 18:11 | hgbot | Status | scheduled => resolved |
2012-03-06 18:11 | hgbot | Resolution | open => fixed |
2012-03-06 18:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a4fce66154b0fa6cc2810953fccbb817d5c7af1e [^] |
2012-03-06 18:11 | alostale | Note Added: 0046104 | |
2012-03-06 18:11 | alostale | Status | resolved => closed |
2012-03-06 18:11 | alostale | Fixed in Version | => 3.0MP10 |
2012-04-01 20:37 | hudsonbot | Checkin | |
2012-04-01 20:37 | hudsonbot | Note Added: 0047050 |
Copyright © 2000 - 2009 MantisBT Group |