Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017654Openbravo ERP01. General setuppublic2011-06-17 10:262011-07-27 10:56
0017654: It is not possible to delete a client
According this configuration, [^] [^]

It is not possible to delete a client. This error appears:

out of shared memory
- As System Administrator create a client
- Login as admin of the new client.
- Create 5 organizations
- As System Administrator try to delete the new client
- Realize that the error appears
No tags attached.
related to defect 00176413.0MP4 closed marvintm Delete Client process does not work (this issue also groups other tickets related to the Delete Client process) 
blocks defect 0016172 closed jpabloae It is not possible to delete a client 
Issue History
2011-06-17 10:26maiteNew Issue
2011-06-17 10:26maiteAssigned To => dalsasua
2011-06-17 10:26maiteModules => Core
2011-06-17 10:27maiteRelationship addedrelated to 0016172
2011-06-17 10:27maiteAssigned Todalsasua => jpabloae
2011-06-20 10:23gorka_gilRelationship replacedblocks 0016172
2011-06-20 10:24gorka_gilAssigned Tojpabloae => gorka_gil
2011-06-20 10:24gorka_gilStatusnew => scheduled
2011-06-20 10:24gorka_gilTypedefect => backport
2011-06-20 10:24gorka_gilfix_in_branch => 2.50
2011-07-26 12:06dmitry_mezentsevRelationship addedrelated to 0017641
2011-07-26 12:18dmitry_mezentsevNote Added: 0039359
2011-07-27 10:51gorka_gilNote Added: 0039428
2011-07-27 10:51gorka_gilStatusscheduled => resolved
2011-07-27 10:51gorka_gilFixed in Version => 2.50MP31
2011-07-27 10:51gorka_gilFixed in SCM revision => 845811ab032b
2011-07-27 10:51gorka_gilResolutionopen => fixed
2011-07-27 10:56gorka_gilNote Added: 0039429
2011-07-27 10:56gorka_gilStatusresolved => closed

2011-07-26 12:18   
Please be aware that although this issue is relevant by itself Delete Client process does not work.

I have added to this ticket reference to generic issue to fix Delete Client problem and it will be also document in few minutes in the appropriate wiki article - [^]
2011-07-27 10:51   
This fix is included starting in 2.50MP31 appliances, except in Ubuntu since it is not allowed that an application modify the kernel parameters.

The default configuration included is:
* (postgresql.conf) max_locks_per_transaction = 200
* (postgresql.conf) shared_buffers = 128MB
* (kernel) kernel.shmmax = 167772160 (160MB)

Also, starting from 2.50MP31 appliances, it is included a script that make these changes and restart postgresql:
  # /etc/init.d/tomcat stop
  # /usr/share/ops-base/bin/pgsql-tune
  # /etc/init.d/tomcat start
2011-07-27 10:56   

Note: since 2.50 appliances not include any client, I've added the standard sampledata clients that are in the source code of 2.50: Accounting_Test.xml, QA_Testing.xml and SmallBazaar.xml (added with an install.source).

The test to delete these 3 clients works.