Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0009468 | Openbravo ERP | Y. DBSourceManager | public | 2009-06-15 11:48 | 2009-07-27 00:00 |
Reporter | shuehner | ||||
Assigned To | marvintm | ||||
Priority | urgent | Severity | critical | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | 2.50MP3 | |||
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 | 0009468: pi update.database fails when processing tables ad_image_ and ad_attachment_ | ||||
Description | update.database failed with the following error message: ---snip--- SQL Command failed with: ERROR: length for type varchar must be at least 1 -- END -- ----------------------------------------------------------------------- -- TABLE AD_ATTACHMENT_ -- ----------------------------------------------------------------------- CREATE TABLE AD_ATTACHMENT_ ( AD_ATTACHMENT_ID VARCHAR(32) NOT NULL, AD_CLIENT_ID VARCHAR(32) NOT NULL, AD_ORG_ID VARCHAR(32) NOT NULL, ISACTIVE CHAR(1) DEFAULT 'Y' NOT NULL, CREATED TIMESTAMP DEFAULT now() NOT NULL, CREATEDBY VARCHAR(32) NOT NULL, UPDATED TIMESTAMP DEFAULT now() NOT NULL, UPDATEDBY VARCHAR(32) NOT NULL, AD_TABLE_ID VARCHAR(32) NOT NULL, RECORD_ID VARCHAR(32) NOT NULL, TITLE VARCHAR(60) NOT NULL, TEXT VARCHAR(2000), BINARYDATA VARCHAR(0), AD_DATATYPE_ID VARCHAR(32) ) SQL Command failed with: ERROR: relation "ad_attachment_" does not exist -- END COMMENT ON COLUMN AD_ATTACHMENT_.TITLE IS '--OBTG:NVARCHAR--'; COMMENT ON COLUMN AD_ATTACHMENT_.TEXT IS '--OBTG:NVARCHAR--'; SQL Command failed with: ERROR: relation "ad_attachment_" does not exist -- END INSERT INTO AD_ATTACHMENT_ (AD_ATTACHMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED ,UPDATEDBY,AD_TABLE_ID,RECORD_ID,TITLE,TEXT,BINARYDATA,AD_DATATYPE_ID) SELECT AD_ATTACHMENT_ID,AD_CLIE NT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,AD_TABLE_ID,RECORD_ID,TITLE,TEXT,BINARYDA TA,AD_DATATYPE_ID FROM AD_ATTACHMENT SQL Command failed with: ERROR: relation "ad_attachment_" does not exist -- END INSERT INTO AD_ATTACHMENT (AD_ATTACHMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED, UPDATEDBY,AD_TABLE_ID,RECORD_ID,TITLE,TEXT,BINARYDATA,AD_DATATYPE_ID) SELECT AD_ATTACHMENT_ID,AD_CLIEN T_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,AD_TABLE_ID,RECORD_ID,TITLE,TEXT,BINARYDAT A,AD_DATATYPE_ID FROM AD_ATTACHMENT_ SQL Command failed with: ERROR: table "ad_attachment_" does not exist -- END -- ----------------------------------------------------------------------- -- TABLE AD_ATTACHMENT_ -- ----------------------------------------------------------------------- DROP TABLE AD_ATTACHMENT_ CASCADE SQL Command failed with: ERROR: length for type varchar must be at least 1 -- END ---snip--- Same error directly later to ad_image_. Problem is ths column 'BINARYDATA VARCHAR(0)'. This will likely break all MP1 -> MP2 upgrades. | ||||
Steps To Reproduce | Try to use update.database to update MP1 to MP2. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | 250MP3releasecandidate | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-06-15 11:48 | shuehner | New Issue | |||
2009-06-15 11:48 | shuehner | Assigned To | => marvintm | ||
2009-06-15 16:45 | hgbot | Checkin | |||
2009-06-15 16:45 | hgbot | Note Added: 0017316 | |||
2009-06-15 16:45 | hgbot | Status | new => resolved | ||
2009-06-15 16:45 | hgbot | Resolution | open => fixed | ||
2009-06-15 16:46 | hgbot | Checkin | |||
2009-06-15 16:46 | hgbot | Note Added: 0017317 | |||
2009-06-15 16:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6e85c489f283f774cce50d68fe1f3939d90303a6 [^] | ||
2009-06-22 11:09 | psarobe | Fixed in Version | => main | ||
2009-07-21 16:24 | psarobe | Fixed in Version | main => 2.50MP3 | ||
2009-07-21 16:26 | psarobe | Tag Attached: 250MP3releasecandidate | |||
2009-07-26 21:36 | psarobe | Status | resolved => closed | ||
2009-07-27 00:00 | anonymous | sf_bug_id | 0 => 2827485 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|