]
Minh Hoang TO updated GTNPORTAL-961:
------------------------------------
Original Estimate: 4 hours
Remaining Estimate: 4 hours
Labels: sprint_37 (was: )
No limits on the MapResourceBundle recursive lookup
---------------------------------------------------
Key: GTNPORTAL-961
URL:
https://jira.jboss.org/browse/GTNPORTAL-961
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Matt Wringe
Original Estimate: 4 hours
Remaining Estimate: 4 hours
The map resource bundle doesn't have any limits on the amount of recursion it will
try and do when resolving a message.
For example, if we have a properties file with:
word.cancel=#{word.cancel}
Then we will end up in an infinite loop (eventual stackoverflow exception) when trying to
resolve #{word.cancel}.
When it tries to resolve word.cancel, it will get back #{word.cancel} which it will try
and resolve again, ...
We are going to need to have a check on the level of recursion allowed when resolving
messages from the resource bundle.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: