Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009384Openbravo ERPA. Platformpublic2009-06-08 16:562009-09-16 00:00
AinhoaPagola 
shuehner 
normalmajorhave not tried
closedno change required 
20Ubuntu 8.4
2.50MP1 
 
Core
No
0009384: Poor error message inserting a duplicated search key for business partners
  
If two business partners with the same search are inserted the following error is displayed:

ERROR: duplicate key value violates unique constraint "c_bpartner_value"

It should be changed for with a more user friendly message.
Create two business partners using the same search key.
Insert a message in AD_Message with 'c_bpartner_value' in value and a message similar to: 'There is already a business partner with the same search value. Please enter a different value.'
No tags attached.
related to defect 00097812.50MP4 closed vmromanos There are some incorrect translations in Spanish translation (I) 
related to defect 0008574 closed shuehner Error message for displaying the duplicate key of the business partner category should be user friendly 
Issue History
2009-06-08 16:56AinhoaPagolaNew Issue
2009-06-08 16:56AinhoaPagolaAssigned To => rafaroda
2009-06-09 17:49psarobeAssigned Torafaroda => shuehner
2009-06-09 17:49psarobeSeveritytrivial => major
2009-06-09 17:49psarobeStatusnew => scheduled
2009-06-10 00:31pjuvaraversion => 2.50MP1
2009-09-15 19:34shuehnerNote Added: 0020093
2009-09-15 19:34shuehnerStatusscheduled => feedback
2009-09-15 20:20AinhoaPagolaNote Added: 0020098
2009-09-15 20:27shuehnerRelationship addedrelated to 0009781
2009-09-15 20:28shuehnerStatusfeedback => closed
2009-09-15 20:28shuehnerNote Added: 0020099
2009-09-15 20:28shuehnerResolutionopen => no change required
2009-09-15 20:29shuehnerRelationship addedrelated to 0008574
2009-09-16 00:00anonymoussf_bug_id0 => 2859597

Notes
(0020093)
shuehner   
2009-09-15 19:34   
Hi,

the current code uses auto-generated error messages if no special error message text for a constraint is present (like for bpartner_value).

The current (autogenerated) text for this case is:

An entry in BusinessPartner with the same (Client, Search Key) already exists. (Client, Search Key) must be unique.


Is this auto-text clear enough? Or do we still need a specialized manually written message here?
(0020098)
AinhoaPagola   
2009-09-15 20:20   
I find this new message is clear enough!
Thanks!
(0020099)
shuehner   
2009-09-15 20:28   
The solution for issue 9781 did implement auto-generated better error messages. As agreed by reporter these are good enough for this case also.