Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0017037 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | major | always | 2011-05-06 10:35 | 2011-06-03 13:03 | |||
Reporter | elopio | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | ebead384d08c | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | 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 | 0017037: Improve testability of collapsible sections | |||||||
Description | For the automation framework, it is not so clear how to tell what is the corresponding section for a given field. It is possible to loop on the fields array of the OBForm object, looking for all the OBSectionItem objects. And then get the itemIds array of those objects and check if my field is there. But this is slow and not so nice. | |||||||
Proposed Solution | It would be much easier if the fields could contain a reference to the OBSectionItem they belong to. For example, on the Sales Invoice Header tab, do something like: window.OB.TestRegistry.registry["org.openbravo.client.application.ViewForm_263"].getField('documentStatus').section and get the OBSectionItem corresponding to the Status section. There might be other possible and easier solutions. This is just the suggestion that came to my mind. | |||||||
Tags | testability | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0036511) hgbot (developer) 2011-05-06 14:22 |
Repository: erp/devel/pi Changeset: ebead384d08cfd22bbd41c7d6d5bd75acef79bdc Author: Martin Taal <martin.taal <at> openbravo.com> Date: Fri May 06 14:21:52 2011 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/ebead384d08cfd22bbd41c7d6d5bd75acef79bdc [^] Fixes issue 17037: Improve testability of collapsible sections --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-formitem-widgets.js M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js --- |
(0036845) hudsonbot (developer) 2011-05-12 13:30 |
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/c40e579fcd38 [^] Maturity status: Test |
(0037962) iperdomo (reporter) 2011-06-03 13:03 |
Tested on pi @ rev 3723e0cd3861 |
Issue History | |||
Date Modified | Username | Field | Change |
2011-05-06 10:35 | elopio | New Issue | |
2011-05-06 10:35 | elopio | Assigned To | => mtaal |
2011-05-06 10:35 | elopio | Modules | => Core |
2011-05-06 14:22 | hgbot | Checkin | |
2011-05-06 14:22 | hgbot | Note Added: 0036511 | |
2011-05-06 14:22 | hgbot | Status | new => resolved |
2011-05-06 14:22 | hgbot | Resolution | open => fixed |
2011-05-06 14:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ebead384d08cfd22bbd41c7d6d5bd75acef79bdc [^] |
2011-05-11 08:46 | elopio | Relationship added | related to 0017109 |
2011-05-11 08:57 | elopio | Tag Attached: testability | |
2011-05-12 13:30 | hudsonbot | Checkin | |
2011-05-12 13:30 | hudsonbot | Note Added: 0036845 | |
2011-06-03 13:03 | iperdomo | Note Added: 0037962 | |
2011-06-03 13:03 | iperdomo | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |