Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028517
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] J. Demo dataminorrandom2015-01-02 15:062015-01-02 15:06
ReporterplujanView Statuspublic 
Assigned Toeduardo_Argal 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028517: Financial Account data for QA dataset has not a default Payment Method

DescriptionWhen creating a new Financial Account Transaction, the Add Payment selector opens with the default Payment Method. If there is not default defined, it picks a random payment method, what is a problem for the Selenium tests. See steps.
Steps To Reproduce1. Enter as Openbravo user, changing to QA Admin role
2. Go to Financial Account window
3. Select Spain Cashbook
4. Go to Transaction and create a new record. Click in the + button for the Payment field.
5. The opening pop up shows in Payment Method the default payment method or any random value from the list (check the function [1])
6. Close the pop up and move to the Payment Method tab for this Financial Account
7. Check that no default is present.

[1] https://code.openbravo.com/erp/devel/pi/file/c778327fb6eb/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/filterexpression/TransactionAddPaymentDefaultValues.java#l167 [^]
Proposed SolutionThe problem is that Selenium tests are assuming "1 (Spain)" will be the selected value, but this only happens randomly. Since there is no default assigned, you may or may not have 1 (Spain) as a result.

The solution is very simple, put 1 (Spain) as default in this tab. In addition to this, it is strongly recommended to add some alert about the missing default to the user, since the choice of 1 (Spain) or any other possible value is not clear for a user with no coding skills.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-01-02 15:06 plujan New Issue
2015-01-02 15:06 plujan Assigned To => eduardo_Argal
2015-01-02 15:06 plujan Modules => Core
2015-01-02 15:06 plujan Triggers an Emergency Pack => No


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker