beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Osborne <patrick.osbo...@bea.com>
Subject Re: [jira] Created: (BEEHIVE-829) Controls deserialization broken because it's looking for the wrong delimiter
Date Wed, 22 Jun 2005 15:33:00 GMT

Steve,

I'm going to look into this, this could be trouble for cluster replication.

-- Patrick.

Kenneth Tam (JIRA) wrote:

>Controls deserialization broken because it's looking for the wrong delimiter
>----------------------------------------------------------------------------
>
>         Key: BEEHIVE-829
>         URL: http://issues.apache.org/jira/browse/BEEHIVE-829
>     Project: Beehive
>        Type: Bug
>  Components: Controls  
>    Versions: v1m1    
>    Reporter: Kenneth Tam
> Assigned to: Kenneth Tam 
>    Priority: Critical
>
>
>Controls deserialization has a rather nasty bug where we're looking for the wrong delimiter.
 To wit, in AnnotatedElementMap.readObject():
>---
>            int argsIndex = _elemDesc.indexOf('/');
>            if (argsIndex < 0)  // element is a Field
>---
>should actually be:
>---
>            int argsIndex = _elemDesc.indexOf('(');
>            if (argsIndex < 0)  // element is a Field
>---
>
>This basically means that controls serialization is broken in a fair number of cases (mostly
extensible controls).
>
>
>
>  
>

Mime
View raw message