Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7Beta1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
Description
Interaction between programmer and tester, about the selectInputText component:
P: What happens when there are several entries with the same label? Like selecting users from a list, who happen to have the same name. Will SelectInputText.getSelectItem() give the correct one (maybe their ages differ, so you can easily debug if it's the right one), or will the first entry, or the last entry be the selected one?
T: The last entry gets selected
If you manually type in the label, then it makes sense to have a policy of one of { first / last / undefined / null } to be returned from SelectInputText.getSelectItem(). But, if you actually select it from the list, then instead of submitting the label back to the server, the index should be sent, so that the exactly correct entry could be returned from SelectInputText.getSelectItem().
P: What happens when there are several entries with the same label? Like selecting users from a list, who happen to have the same name. Will SelectInputText.getSelectItem() give the correct one (maybe their ages differ, so you can easily debug if it's the right one), or will the first entry, or the last entry be the selected one?
T: The last entry gets selected
If you manually type in the label, then it makes sense to have a policy of one of { first / last / undefined / null } to be returned from SelectInputText.getSelectItem(). But, if you actually select it from the list, then instead of submitting the label back to the server, the index should be sent, so that the exactly correct entry could be returned from SelectInputText.getSelectItem().
Issue Links
Activity
Mark Collette
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.8DR#2 [ 10142 ] | |
Assignee | Mark Collette [ mark.collette ] |
Mark Collette
made changes -
Ken Fyten
made changes -
Fix Version/s | 1.8DR#3 [ 10143 ] | |
Fix Version/s | 1.8DR#2 [ 10142 ] |
Mark Collette
made changes -
Mark Collette
made changes -
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 1.8DR#2 [ 10142 ] | |
Fix Version/s | 1.8DR#3 [ 10143 ] | |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8 [ 10161 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Mark Collette [ mark.collette ] |
Fixed by
ICE-1993.