Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006211Openbravo ERP00. Application dictionarypublic2008-11-26 14:062008-12-11 14:55
networkb 
pheenan 
immediatemajoralways
closedfixed 
5
2.35MP9 
 
OBPS
Core
No
0006211: If you fill a field with the maximum length permited and one of the character is special it fails when saving
If you fill a field with the maximum length permitted and one of the character is special, you get the following error:
ORA-12899: value too large for column "TAD_BRANCH_R23X_DEMO"."M_PRODUCT"."UPC" (actual: 31, maximum: 30)
1-Go to the product window
2-Fill the upc field with
ppppppppppppppppppppppppppppp (30 characcteres)
3-Save.
4- You get the error.
No tags attached.
related to defect 0006390 closed pheenan Rpt_Etiquetas_data.xsql does not compile 
related to backport 00065052.35 closed pheenan Backport issue 6211: 0006211: If you fill a field with the maximum length permited and one of the character is special it fails 
related to backport 00065072.40 closed pheenan Backport issue 6211: 0006211: If you fill a field with the maximum length permited and one of the character is special it fails 
Issue History
2008-11-26 14:06networkbNew Issue
2008-11-26 14:06networkbAssigned To => rafaroda
2008-11-26 14:06networkbsf_bug_id0 => 2350781
2008-11-26 14:06networkbOBNetwork customer => Yes
2008-11-26 14:06networkbRegression testing => No
2008-11-26 14:42pjuvaraSticky IssueNo => Yes
2008-11-26 14:42pjuvaraSticky IssueYes => No
2008-11-26 17:57rafarodaNote Added: 0010735
2008-11-26 18:34rafarodaAssigned Torafaroda => pheenan
2008-11-27 10:51pheenanStatusnew => scheduled
2008-11-27 10:51pheenanNote Added: 0010759
2008-11-27 10:51pheenanfix_in_branch => trunk
2008-11-27 19:19pnudingIssue Monitored: pnuding
2008-12-05 12:52pheenanNote Added: 0010997
2008-12-05 17:19svnbotCheckin
2008-12-05 17:19svnbotNote Added: 0011005
2008-12-05 17:19svnbotStatusscheduled => resolved
2008-12-05 17:19svnbotResolutionopen => fixed
2008-12-05 17:19svnbotsvn_revision => 11008
2008-12-05 17:20svnbotCheckin
2008-12-05 17:20svnbotNote Added: 0011006
2008-12-05 17:20svnbotsvn_revision11008 => 11009
2008-12-05 17:24svnbotCheckin
2008-12-05 17:24svnbotNote Added: 0011007
2008-12-05 17:24svnbotsvn_revision11009 => 11010
2008-12-07 09:34jpabloaeRelationship addedrelated to 0006390
2008-12-11 14:55krishnaStatusresolved => closed
2008-12-12 11:22pheenanRelationship addedrelated to 0006505
2008-12-12 11:25pheenanRelationship addedrelated to 0006507

Notes
(0010735)
rafaroda   
2008-11-26 17:57   
This issue has been tested both in Oracle and PostgreSQL.

In PostgreSQL it was not able to reproduce when testing in branch 2.3x, branch 2.40 and trunk.

In Oracle it was possible to reproduce in branch 2.3x, branch 2.40 and trunk.
(0010759)
pheenan   
2008-11-27 10:51   
udpate column type.
(0010997)
pheenan   
2008-12-05 12:52   
Having tested the possibility of changing the column to nvarchar this is not going to be a posible solution. The data becomes corrupted.

Proposed solution is to update DBSourceManager to cast string fields. This will be tested and confirmed before continuing with the modification to DBSourceManager.
(0011005)
svnbot   
2008-12-05 17:19   
Repository: openbravo
Revision: 11008
Author: pheenan
Date: 2008-12-05 17:19:12 +0100 (Fri, 05 Dec 2008)

Fixed issue 6211. Updated columns to NVARCHAR from VARCHAR. This will enable the field to hold the maximum number of characters including special characters.

---
U trunk/src-db/database/model/tables/M_PRODUCT.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11008&sc=1 [^]
(0011006)
svnbot   
2008-12-05 17:20   
Repository: openbravo
Revision: 11009
Author: pheenan
Date: 2008-12-05 17:20:48 +0100 (Fri, 05 Dec 2008)

Fixed issue 6211. Updated columns to NVARCHAR from VARCHAR. This will enable the field to hold the maximum number of characters including special characters.

---
U branches/r2.3x/database/model/tables/M_PRODUCT.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11009&sc=1 [^]
(0011007)
svnbot   
2008-12-05 17:24   
Repository: openbravo
Revision: 11010
Author: pheenan
Date: 2008-12-05 17:24:25 +0100 (Fri, 05 Dec 2008)

Fixed issue 6211. Updated columns to NVARCHAR from VARCHAR. This will enable the field to hold the maximum number of characters including special characters.

---
U branches/r2.40/src-db/database/model/tables/M_PRODUCT.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11010&sc=1 [^]