History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OGNL-18
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jesse Kuhnert
Reporter: Jesse Kuhnert
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OGNL

bad array index selectedPresenters[index]

Created: 22/Mar/07 05:33 PM   Updated: 23/Mar/07 12:07 PM
Component/s: ExpressionCompiler
Affects Version/s: 2.7
Fix Version/s: 2.7


 Description  « Hide
An object has the properties:

public boolean[] getSelectedPresenters()
public void setSelectedPresenters(boolean[] selected)

public Integer getIndex()

the expression results in a bad array index compilation error with the compiled source of:

selectedPresenters[index] getter body: { return ($w) (((boolean[])(($ScheduleRuleInfo_369)$2).getSelectedPresenters())[(($ScheduleRuleInfo_369)$2).getIndex()]);}

 All   Comments   Change History      Sort Order:
Jesse Kuhnert - [23/Mar/07 12:07 PM ]
Refactored ASTConst to set primitive numeric types so that proper type detection could happen.