You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Kenneth Tam (JIRA)" <be...@incubator.apache.org> on 2005/06/22 00:27:18 UTC
[jira] Created: (BEEHIVE-829) Controls deserialization broken because it's looking for the wrong delimiter
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).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Re: [jira] Created: (BEEHIVE-829) Controls deserialization broken
because it's looking for the wrong delimiter
Posted by Patrick Osborne <pa...@bea.com>.
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).
>
>
>
>
>
Re: [jira] Created: (BEEHIVE-829) Controls deserialization broken
because it's looking for the wrong delimiter
Posted by Patrick Osborne <pa...@bea.com>.
Ken,
What kind of behavior would you expect if we were to try and use the
deserialized control?
-- 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).
>
>
>
>
>
[jira] Commented: (BEEHIVE-829) Controls deserialization broken because it's looking for the wrong delimiter
Posted by "Jacob Danner (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-829?page=comments#action_12319092 ]
Jacob Danner commented on BEEHIVE-829:
--------------------------------------
This has been fixed and I am unable to repro. Look to close this
> 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
> Assignee: 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).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira