[Asterisk-java-devel] bug in bindPort resource
Brought to you by:
srt
|
From: lumen <lu...@bu...> - 2007-12-17 08:16:31
|
Hi all:
I find a bug in org.asteriskjava.fastagi.DefaultAgiServer in loadConfig()
method, using 0.3.1 of asterisk-java.
The problem is that for backward compatibylity, firts it makes a lookup of
'port' resource, and if that returns an emtpy string, it makes a lookup of
'bindPort' resource.
The problem is that if 'port' is not found an exception raises, and the
second lookup is never entered.
The 'if' block:
if (portString == null)
{
// for backward compatibility only
portString = resourceBundle.getString("bindPort");
}
have to be moved outside the try{}catch.
How I can report this bug at http://jira.reucon.org/browse/AJ ? I can't
find the form to report a new bug with the patch.
|