Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005510Openbravo ERP01. General setuppublic2008-10-13 11:372008-11-25 14:16
joan 
cromero 
normalmajoralways
closedfixed 
30Debian Etch
2.40 
 
Core
No
0005510: Problem installing Openbravo
When i try to install openbravo as a developer it always fails in one function.

Y copy the log where the error occours.
Install Openbravo (it happens also on 2.40b)
Accept license
Specify Ob Dir, any
Attach dir, any
Installation mode, 1
Complete instalation, 2(development)
Everything else by default.
No tags attached.
depends on backport 0005583 closed cromero Problem installing Openbravo 
has duplicate defect 0005553 closed  c_invoice_post not found in OB2.40 with Postgresql 
log 01database.log (105,566) 2008-10-13 11:37
https://issues.openbravo.com/file_download.php?file_id=321&type=bug
Issue History
2008-10-13 11:37joanNew Issue
2008-10-13 11:37joanAssigned To => cromero
2008-10-13 11:37joansf_bug_id0 => 2163203
2008-10-13 11:37joanFile Added: 01database.log
2008-10-13 11:47cromeroNote Added: 0009534
2008-10-13 11:52joanNote Added: 0009535
2008-10-14 16:31cromeroNote Added: 0009566
2008-10-14 16:36joanNote Added: 0009568
2008-10-17 09:30rafarodaRelationship addedhas duplicate 0005553
2008-10-17 09:43mmarquezIssue Monitored: mmarquez
2008-10-20 11:16psarobeStatusnew => scheduled
2008-10-20 11:16psarobeNote Added: 0009643
2008-10-20 11:16psarobefix_in_branch => trunk
2008-11-05 12:11svnbotCheckin
2008-11-05 12:11svnbotNote Added: 0009995
2008-11-05 12:11svnbotStatusscheduled => resolved
2008-11-05 12:11svnbotResolutionopen => fixed
2008-11-05 12:11svnbotsvn_revision => 9683
2008-11-25 14:16psarobeRegression testing => No
2008-11-25 14:16psarobeStatusresolved => closed

Notes
(0009534)
cromero   
2008-10-13 11:47   
The problem is in this sentence:

[createdatabase] delete from c_taxregisterline trl where trl.c_invoicetax_id in
[createdatabase] (select trl.c_invoicetax_id
[createdatabase] FROM c_taxregisterline trl
[createdatabase] inner join c_invoicetax it on trl.c_invoicetax_id = it.c_invoicetax_id
[createdatabase] inner join c_taxregister tr on tr.c_taxregister_id= trl.c_taxregister_id
[createdatabase] inner join c_taxpayment tp on tr.c_taxpayment_id=tp.c_taxpayment_id
[createdatabase] WHERE it.c_invoice_id = v_record_id
[createdatabase] and tp.processed='N');

It should be:

[createdatabase] delete from c_taxregisterline where c_taxregisterline.c_invoicetax_id in
[createdatabase] (select trl.c_invoicetax_id
[createdatabase] FROM c_taxregisterline trl
[createdatabase] inner join c_invoicetax it on trl.c_invoicetax_id = it.c_invoicetax_id
[createdatabase] inner join c_taxregister tr on tr.c_taxregister_id= trl.c_taxregister_id
[createdatabase] inner join c_taxpayment tp on tr.c_taxpayment_id=tp.c_taxpayment_id
[createdatabase] WHERE it.c_invoice_id = v_record_id
[createdatabase] and tp.processed='N');
(0009535)
joan   
2008-10-13 11:52   
I am the only one who is affected with this error?, i'm unsure if it is because i have "unclean" my machine or because it is a bug on 2.40 version or why it happens.
(0009566)
cromero   
2008-10-14 16:31   
You are affected because you use PostgreSQl 8.1 that does not accept the notation:
delete from c_taxregisterline trl
(0009568)
joan   
2008-10-14 16:36   
Should I upgrade?, there is any other thing like this?
(0009643)
psarobe   
2008-10-20 11:16   
We will fix but we strongly recommend you to upgrade to 8.3.3. You will notice lot of performance improvements
(0009995)
svnbot   
2008-11-05 12:11   
Repository: openbravo
Revision: 9683
Author: cromeroherrero
Date: 2008-11-05 12:11:49 +0100 (Wed, 05 Nov 2008)

Fixed bug 5510: Problem installing Openbravo

---
U trunk/src-db/database/model/functions/C_INVOICE_POST.xml
---

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