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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017037
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformmajoralways2011-05-06 10:352011-06-03 13:03
ReporterelopioView Statuspublic 
Assigned Tomtaal 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionebead384d08c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017037: Improve testability of collapsible sections

DescriptionFor 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 SolutionIt 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.
Tagstestability
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0017109 scheduledTriage Platform Base Assign meaningful and stable names to sections 

-  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
Powered by Mantis Bugtracker