Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009738
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2009-07-01 12:472009-07-22 00:00
ReporternetworkbView Statuspublic 
Assigned Toshuehner 
PriorityimmediateResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisiona419871c7ec7
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS VersionGentooDatabase version11gAnt version1.7.0
Product Version2.50SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009738: Creation of Forms with long classnames fails.

DescriptionWhen you try to create a new form with a long classname it fails with an error in the trigger.

      
ORA-06502: PL/SQL: error : buffer de cadenas de caracteres demasiado pequeño numérico o de valor
ORA-06512: en "TAD_FINAL.AD_FORM_TRG2", línea 73
ORA-04088: error durante la ejecución del disparador 'TAD_FINAL.AD_FORM_TRG2'
Steps To ReproduceGo to Application Dictionary || Form || Form

Create a new form with a classname longer than 60 characters.

Notice that you can shorten the classname and once is inserted go back to the original classname as the field length is 200.
Proposed Solutionfix the length of the v_classname variable in the ad_form_trg2 trigger.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0017738)
shuehner (administrator)
2009-07-01 15:34

Please do not just change the length of the variable! Instead please change the variable definition to use the %TYPE syntax to define it as the same type (and length) as the classname column in the ad_forms table.

This way it automatically adjusts if the classname field is changed ever to a different length.
(0017906)
pjuvara (reporter)
2009-07-03 19:42

Please specify the product version.
(0018013)
rafaroda (developer)
2009-07-08 11:33

Reminder sent to: networkb

Please provide the feedback required. Thanks.
(0018254)
hgbot (developer)
2009-07-15 12:21

Repository: erp/devel/pi
Changeset: a419871c7ec76feeca332810b5970761502eb7ef
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Wed Jul 15 12:21:12 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a419871c7ec76feeca332810b5970761502eb7ef [^]

Fixed 9738: Creation of Forms with long classnames fails.
modify variable declaration to pick type+length from target column

---
M src-db/database/model/triggers/AD_FORM_TRG2.xml
---
(0018458)
sureshbabu (reporter)
2009-07-21 08:44

Tested working fine, able to give class name's more than 60 chars.

- Issue History
Date Modified Username Field Change
2009-07-01 12:47 gorkaion New Issue
2009-07-01 12:47 gorkaion Assigned To => rafaroda
2009-07-01 12:48 gorkaion Reporter gorkaion => networkb
2009-07-01 15:34 shuehner Note Added: 0017738
2009-07-03 19:42 pjuvara Note Added: 0017906
2009-07-03 19:42 pjuvara Status new => feedback
2009-07-08 11:33 rafaroda Note Added: 0018013
2009-07-13 17:26 networkb Status feedback => new
2009-07-13 17:26 networkb version => 2.50
2009-07-13 17:31 rafaroda Assigned To rafaroda => shuehner
2009-07-13 17:31 rafaroda Status new => scheduled
2009-07-15 12:21 hgbot Checkin
2009-07-15 12:21 hgbot Note Added: 0018254
2009-07-15 12:21 hgbot Status scheduled => resolved
2009-07-15 12:21 hgbot Resolution open => fixed
2009-07-15 12:21 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a419871c7ec76feeca332810b5970761502eb7ef [^]
2009-07-21 08:44 sureshbabu Status resolved => closed
2009-07-21 08:44 sureshbabu Note Added: 0018458
2009-07-21 08:44 sureshbabu Fixed in Version => pi
2009-07-22 00:00 anonymous sf_bug_id 0 => 2825053


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker