Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028500Openbravo ERPA. Platformpublic2014-12-30 09:502015-02-04 20:34
lorenzofidalgo 
NaroaIriarte 
normaltrivialN/A
closedfixed 
5
pi 
3.0PR15Q2 
alostale
Google Chrome
Core
No
0028500: To add the "targetEntity" property to the OBSelectorItems included in Parameter Windows
Following the pattern, it is needed that this field has targetEntity property to be properly handled in selenium tests.

To locate this field:
LogIn ERP as QAAdmin
Go to "Financial Account" window, choose Spain Cashbook
Go to "Transaction" tab, create new record
In "Payment" field, click "+" icon.
Scroll to bottom.
Field's label is "Action Regarding Document"
N/A
To add "targetEntity" property to this OBSelectorItem.
No tags attached.
png Action Regarding Document.png (15,010) 2014-12-30 09:50
https://issues.openbravo.com/file_download.php?file_id=7646&type=bug
png
Issue History
2014-12-30 09:50lorenzofidalgoNew Issue
2014-12-30 09:50lorenzofidalgoAssigned To => AugustoMauch
2014-12-30 09:50lorenzofidalgoFile Added: Action Regarding Document.png
2014-12-30 09:50lorenzofidalgoWeb browser => Google Chrome
2014-12-30 09:50lorenzofidalgoModules => Core
2014-12-30 09:50lorenzofidalgoTriggers an Emergency Pack => No
2014-12-30 10:02AugustoMauchWeb browserGoogle Chrome => Google Chrome
2014-12-30 10:02AugustoMauchSummaryTo add "targetEntity" to OBSelectorItem whose label is "Action Regarding Document". From AddPayment window. => To add the "targetEntity" property to the OBSelectorItems included in Parameter Windows
2014-12-31 13:32AugustoMauchAssigned ToAugustoMauch => NaroaIriarte
2015-01-16 09:01lorenzofidalgoWeb browserGoogle Chrome => Google Chrome
2015-01-16 09:01lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=7466#r7466
2015-01-16 10:04hgbotCheckin
2015-01-16 10:04hgbotNote Added: 0073563
2015-01-16 10:04hgbotStatusnew => resolved
2015-01-16 10:04hgbotResolutionopen => fixed
2015-01-16 10:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/078f4ad60a2fdeaf676bb38cede5fc6984fa4447 [^]
2015-01-16 10:06alostaleReview Assigned To => alostale
2015-01-16 10:06alostaleNote Added: 0073564
2015-01-16 10:06alostaleStatusresolved => closed
2015-01-16 10:06alostaleFixed in Version => 3.0PR15Q2
2015-02-04 20:34hudsonbotCheckin
2015-02-04 20:34hudsonbotNote Added: 0074151

Notes
(0073563)
hgbot   
2015-01-16 10:04   
Repository: erp/devel/pi
Changeset: 078f4ad60a2fdeaf676bb38cede5fc6984fa4447
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Wed Jan 07 15:43:45 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/078f4ad60a2fdeaf676bb38cede5fc6984fa4447 [^]

Fixed issue 28500: Add targetEntity property the OBSelectorItems.

The "targetEntity" property didn't exist for the OBSelectorItems included in Parameter Windows.

The problem was that in the "ob-param-window-parameter.ftl" the logic for the "targetEntity" property
didn't exist.

For fixing this the proper logic has been added to the "ob-param-window-parameter.ftl" and a new method
called "getTargetEntity" has been performed in the "OBViewParameterHandler.java" class.
This method returns the "targetEntity" name of an OBSelector item which is included in a Parameter Window.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-param-window-parameter.ftl
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewParameterHandler.java
---
(0073564)
alostale   
2015-01-16 10:06   
code reviewed

tested by checking generated view output
(0074151)
hudsonbot   
2015-02-04 20:34   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f36c91d0ad63 [^]
Maturity status: Test