Simple bug in AliasKeyManager

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Simple bug in AliasKeyManager

Adam Heath-2
in org.ofbiz.base.util.AliasKeyManager, chooseClientAlias has 2 nested
loops; the inner loop uses the index variable from the outer loop
correctly.  Could someone please fix it?  I've got a rather large set of
changes that make it hard for me to file a separate patch.


svk diff /job/ofbiz/ofbiz-svn|diffstat
...
 160 files changed, 3144 insertions(+), 3378 deletions(-)
Reply | Threaded
Open this post in threaded view
|

Re: Simple bug in AliasKeyManager

Tim Ruppert
I just checked it out - at a simple glance it does look like a bug.  I don't have framework perms though so someone else will have to get it.

Cheers,
Tim
--
Tim Ruppert
HotWax Media

o:801.649.6594
f:801.649.6595


On Sep 19, 2007, at 9:50 PM, Adam Heath wrote:

in org.ofbiz.base.util.AliasKeyManager, chooseClientAlias has 2 nested
loops; the inner loop uses the index variable from the outer loop
correctly.  Could someone please fix it?  I've got a rather large set of
changes that make it hard for me to file a separate patch.


svk diff /job/ofbiz/ofbiz-svn|diffstat
...
 160 files changed, 3144 insertions(+), 3378 deletions(-)


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Simple bug in AliasKeyManager

byersa
I will take a look at it.
-Al

On 9/19/07, Tim Ruppert <[hidden email]> wrote:

>
> I just checked it out - at a simple glance it does look like a bug.  I
> don't have framework perms though so someone else will have to get it.
>
> Cheers,
> Tim
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>
> On Sep 19, 2007, at 9:50 PM, Adam Heath wrote:
>
> in org.ofbiz.base.util.AliasKeyManager, chooseClientAlias has 2 nested
> loops; the inner loop uses the index variable from the outer loop
> correctly.  Could someone please fix it?  I've got a rather large set of
> changes that make it hard for me to file a separate patch.
>
>
> svk diff /job/ofbiz/ofbiz-svn|diffstat
> ...
>  160 files changed, 3144 insertions(+), 3378 deletions(-)
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Simple bug in AliasKeyManager

byersa
ok, i just changed line 51 to:
                   if (this.alias.equals(aliases[x])) {
I did not even compile, so let me know if that was not the right change.
-Al

On 9/19/07, Al Byers <[hidden email]> wrote:

>
> I will take a look at it.
> -Al
>
> On 9/19/07, Tim Ruppert <[hidden email]> wrote:
> >
> > I just checked it out - at a simple glance it does look like a bug.  I
> > don't have framework perms though so someone else will have to get it.
> >
> >         Cheers,
> > Tim
> > --
> > Tim Ruppert
> > HotWax Media
> > http://www.hotwaxmedia.com
> >
> > o:801.649.6594
> > f:801.649.6595
> >
> >
> > On Sep 19, 2007, at 9:50 PM, Adam Heath wrote:
> >
> > in org.ofbiz.base.util.AliasKeyManager, chooseClientAlias has 2 nested
> > loops; the inner loop uses the index variable from the outer loop
> > correctly.  Could someone please fix it?  I've got a rather large set of
> > changes that make it hard for me to file a separate patch.
> >
> >
> > svk diff /job/ofbiz/ofbiz-svn|diffstat
> > ...
> >  160 files changed, 3144 insertions(+), 3378 deletions(-)
> >
> >
> >
> >
>