Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034867Openbravo ERP04. Warehouse managementpublic2017-01-09 13:302019-10-24 10:59
plujan 
inigo_lerga 
normalminorhave not tried
scheduledopen 
5
main 
 
Core
No
0034867: [PR17Q1] [AUoM] Message on saving with a rate of zero is not correct
When creating a new record on the Alternate UoM tab for a product, if the conversion rate is left as default (zero) it should throw a specific error:

"Saving failed. Conversion Rate must be greater than Zero"

Instead, the message shown is:
"Saving failed. There is a constraint defined that was not satisfied. Please check the data entered"
Refer to the Testlink test case at https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-10371 [^]
No tags attached.
Issue History
2017-01-09 13:30plujanNew Issue
2017-01-09 13:30plujanAssigned To => Triage Finance
2017-01-09 13:30plujanModules => Core
2017-01-09 13:30plujanTriggers an Emergency Pack => No
2017-03-06 12:40vmromanosAssigned ToTriage Finance => platform
2017-03-06 17:00alostaleAssigned Toplatform => Triage Finance
2017-03-06 17:01alostaleNote Added: 0094771
2019-07-05 10:46inaki_garciaNote Added: 0113199
2019-10-23 12:47inigo_lergaAssigned ToTriage Finance => inigo_lerga
2019-10-23 12:47inigo_lergaStatusnew => scheduled
2019-10-24 10:59inigo_lergaNote Added: 0115263

Notes
(0094771)
alostale   
2017-03-06 17:01   
When saving to DB "m_product_aum_rate_check" constraint is not satisfied, as there's no message for that constraint, it fails, as expected, with a generic message.
(0113199)
inaki_garcia   
2019-07-05 10:46   
This issue is still reproducible in the 19Q3 release.
(0115263)
inigo_lerga   
2019-10-24 10:59   
Test Plan Mantis:
As the F&B International Group Admin role:
    - Enter the prduct window.
    - Create a new record.
    - Create an Alternate UoM and set it to
    the default value 0 in Conversion Rate.
    - Realize that a standard error message is thrown.