Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0028517 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] J. Demo data | minor | random | 2015-01-02 15:06 | 2015-01-02 15:06 | |||||||
Reporter | plujan | View Status | public | |||||||||
Assigned To | eduardo_Argal | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | main | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0028517: Financial Account data for QA dataset has not a default Payment Method | |||||||||||
Description | When 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 Reproduce | 1. 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 Solution | The 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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |