| Summary: | Improve extensibility of CodeLookupCall | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Sandro Blum <sandro.blum> | ||||||||
| Component: | Scout | Assignee: | Project Inbox <scout.core-inbox> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | CC: | ivan.motsch, zimmermann | ||||||||
| Version: | unspecified | Flags: | zimmermann:
juno+
|
||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Sandro Blum
Not required on branches, enhancement of trunk is sufficient. Created attachment 207300 [details]
Patch for CodeLookupCall class
The revision of your patch is an old version of the CodeLookupCall class. Please consult the current version, it already contains (resp. contained before)these enhancements: use setFilter to filter the collection of affected codes use execCreateLookupRowsFromCodes to customize the transformation from ICode to LookupRow. updated target milestone Created attachment 211794 [details]
Patch for CodeLookupCall class
Attached new CodeLookupCall patch based on proposals by Ivan Motsch. status set to reopened as new patch was attached Thanks! That code lookg good. Since there change basically 50% of the code in that class, could you please add a junit test that tests whether the behaviour BEFORE the patch (without custom Comparator) is same after (without Comparator). You may create a similar test as the existing /org.eclipse.scout.james.shared/src/org/eclipse/scout/james/shared/tests/lookup/LocalLookupCallTest.java Thanks updated target milestone to 3.8.1 as this change won't make it for juno at this time Created attachment 216453 [details]
unit test
Thanks for the unit test, i added it to this ticket. Works fine and looks good. I applied to it to 3.8.1 shipped with scout juno sr1 |