Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008574Openbravo ERP02. Master data managementpublic2009-04-15 09:112009-09-30 00:00
arunkumar 
shuehner 
lowminoralways
closedno change required 
5
main 
 
No
Core
No
0008574: Error message for displaying the duplicate key of the business partner category should be user friendly
Creating a business partner category with the search key that was already existing throws an error message. But it is not user friendly.
# Login as userA
# Go to Master data management->Business partner Setup->Business partner Category
# Click a new record and enter the search key "CRT" which was existing already.

An error message is displayed since the search key exists already.
ERROR: duplicate key value violates unique constraint "c_bp_group_value"


But that was not user friendly.
The error message should be displayed like "A business partner category already exists with the same search key"
No tags attached.
related to defect 00097812.50MP4 closed vmromanos There are some incorrect translations in Spanish translation (I) 
related to defect 0009384 closed shuehner Poor error message inserting a duplicated search key for business partners 
jpg BusinessPartnerSearchKey.JPG (162,343) 2009-04-15 09:11
https://issues.openbravo.com/file_download.php?file_id=1179&type=bug
jpg
Issue History
2009-04-15 09:11arunkumarNew Issue
2009-04-15 09:11arunkumarAssigned To => rafaroda
2009-04-15 09:11arunkumarFile Added: BusinessPartnerSearchKey.JPG
2009-04-15 09:11arunkumarOBNetwork customer => No
2009-04-15 09:11arunkumarRegression testing => No
2009-04-15 09:44thirumalaiNote Added: 0015365
2009-04-15 09:44thirumalaiIssue Monitored: thirumalai
2009-04-22 20:00psarobeStatusnew => scheduled
2009-04-22 20:00psarobeAssigned Torafaroda => shuehner
2009-04-22 20:00psarobefix_in_branch => pi
2009-09-15 19:36shuehnerNote Added: 0020094
2009-09-15 19:36shuehnerStatusscheduled => feedback
2009-09-15 20:28shuehnerRelationship addedrelated to 0009781
2009-09-15 20:29shuehnerRelationship addedrelated to 0009384
2009-09-29 10:00arunkumarNote Added: 0020427
2009-09-29 10:31shuehnerStatusfeedback => closed
2009-09-29 10:31shuehnerNote Added: 0020429
2009-09-29 10:31shuehnerResolutionopen => no change required
2009-09-30 00:00anonymoussf_bug_id0 => 2870159

Notes
(0015365)
thirumalai   
2009-04-15 09:44   
Similar to issue - 0008553
(0020094)
shuehner   
2009-09-15 19:36   
Hi,

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

The current (autogenerated) text for this case is:

An entry in BusinessPartnerCategory 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?
(0020427)
arunkumar   
2009-09-29 10:00   
Yes the following auto generated text is enough:

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

You mark the issue as resolved.
(0020429)
shuehner   
2009-09-29 10:31   
No change required as the new auto-generated error message texts are good enough in this case.