Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008917Openbravo ERP01. General setuppublic2009-05-05 19:432009-06-02 06:42
yeasy 
iperdomo 
immediatemajoralways
closedfixed 
10Server 2003
2.50 
pi 
Core
No
0008917: Error Message when set org. as ready
 When processing "Set as Ready" during the general setup - Organization:
ERROR: value too long for type character varying(1000)
A way to reproduce this bug is:

1- As Openbravo Admin, create a lot of organizations for the same client, for example 30 (it is not important neither the org type nor the position at the org's tree)
2- Try to set as ready any of them
Increase the length of the column OB_CONTEXT of the AD_PROCESS_REQUEST table
No tags attached.
depends on defect 0009224 closed marvintm Data record insertion fails when using a CLOB column 
related to defect 0009238 closed iperdomo api check: build 29 failed with a warning 
Issue History
2009-05-05 19:43yeasyNew Issue
2009-05-05 19:43yeasyAssigned To => rafaroda
2009-05-06 14:05psarobeNote Added: 0016100
2009-05-06 14:05psarobeStatusnew => feedback
2009-05-11 11:06psarobeNote Added: 0016244
2009-05-11 19:16yeasyNote Added: 0016277
2009-05-15 10:07rafarodaRegression testing => No
2009-05-15 10:07rafarodaStatusfeedback => closed
2009-05-15 10:07rafarodaNote Added: 0016367
2009-05-15 10:07rafarodaResolutionopen => no change required
2009-05-16 00:00anonymoussf_bug_id0 => 2792498
2009-05-27 10:58pjuvaraStatusclosed => new
2009-05-27 10:58pjuvaraResolutionno change required => open
2009-05-27 10:58pjuvaraPrioritynormal => immediate
2009-05-27 10:58pjuvaraSeveritymajor => critical
2009-05-27 11:02pjuvaraNote Added: 0016672
2009-05-27 13:35psarobeSeveritycritical => major
2009-05-27 13:35psarobeStatusnew => scheduled
2009-05-27 13:35psarobeAssigned Torafaroda => vmromanos
2009-05-27 13:35psarobefix_in_branch => pi
2009-05-27 15:14vmromanosNote Added: 0016682
2009-05-27 15:14vmromanosAssigned Tovmromanos => psarobe
2009-05-27 15:14vmromanosStatusscheduled => feedback
2009-05-27 16:25vmromanosfix_in_branchpi =>
2009-05-27 16:25vmromanosProposed Solution updated
2009-05-27 16:25vmromanosSteps to Reproduce Updated
2009-05-27 16:26rafarodaAssigned Topsarobe => alostale
2009-05-27 16:26rafarodaStatusfeedback => scheduled
2009-05-27 18:01alostaleAssigned Toalostale => iperdomo
2009-05-28 07:59pjuvaraIssue Monitored: pjuvara
2009-05-28 13:35iperdomoRelationship addeddepends on 0009224
2009-05-28 19:50hgbotCheckin
2009-05-28 19:50hgbotNote Added: 0016740
2009-05-28 19:50hgbotStatusscheduled => resolved
2009-05-28 19:50hgbotResolutionopen => fixed
2009-05-28 19:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/32910a30d3cc7be3ae1cc355f29f8dd1a54a05f4 [^]
2009-05-29 12:20iperdomoRelationship addedrelated to 0009238
2009-06-01 12:04hgbotCheckin
2009-06-01 12:04hgbotNote Added: 0016802
2009-06-01 12:04hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/32910a30d3cc7be3ae1cc355f29f8dd1a54a05f4 [^] => http://code.openbravo.com/erp/devel/api-checks/rev/c38acc7c0db8bfedf932143f7cdb06fff486827e [^]
2009-06-02 06:42pjuvaraStatusresolved => closed
2009-06-02 06:42pjuvaraNote Added: 0016834
2009-06-02 06:42pjuvaraFixed in Version => pi

Notes
(0016100)
psarobe   
2009-05-06 14:05   
Please give more information as we cannot reproduce
(0016244)
psarobe   
2009-05-11 11:06   
Reminder sent to: yeasy

Any feedback?
(0016277)
yeasy   
2009-05-11 19:16   
The problem can be solved by changing the log in role. Thanks!
(0016367)
rafaroda   
2009-05-15 10:07   
Reporter did manage to solve his problem: it was not an Openbravo ERP issue.
(0016672)
pjuvara   
2009-05-27 11:02   
This problem happens when there is a large number of organizations and this makes the concatenated list of organization exceed the size.

This bug has been encountered in the internal Openbravo implementation (35 organizations). This is a professional subscription customer and this is a showstopper for the project.
(0016682)
vmromanos   
2009-05-27 15:14   
This is a Platform's bug, because it affects every PL procedure/function.

The column OB_CONTEXT of the AD_PROCESS_REQUEST table stores a snapshoot of the session variables, like the IDs of the clients, organizations or warehouses configured in the system when executing a PL procedure.

When the length of this string is greater than 10000 (it is easy with UUIDs), this bug appears.


The solution is to increase the length of this column, but Platform should decide the new length.
(0016740)
hgbot   
2009-05-28 19:50   
Repository: erp/devel/pi
Changeset: 32910a30d3cc7be3ae1cc355f29f8dd1a54a05f4
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Thu May 28 19:49:24 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/32910a30d3cc7be3ae1cc355f29f8dd1a54a05f4 [^]

Fixes issue 8917: Increase ob_context length

---
M src-db/database/model/tables/AD_PROCESS_REQUEST.xml
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0016802)
hgbot   
2009-06-01 12:04   
Repository: erp/devel/api-checks
Changeset: c38acc7c0db8bfedf932143f7cdb06fff486827e
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Jun 01 12:04:18 2009 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/c38acc7c0db8bfedf932143f7cdb06fff486827e [^]

Changed column length. Related to issue 8917

---
M model/model/tables/AD_PROCESS_REQUEST.xml
---
(0016834)
pjuvara   
2009-06-02 06:42   
Verified