Issue Details (XML | Word | Printable)

Key: BEEHIVE-829
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Kenneth Tam
Reporter: Kenneth Tam
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Beehive

Controls deserialization broken because it's looking for the wrong delimiter

Created: 22/Jun/05 07:23 AM   Updated: 12/Sep/05 05:18 AM
Return to search
Component/s: Controls
Affects Version/s: v1m1
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 12/Sep/05 05:18 AM


 Description  « Hide
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).



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jacob Danner added a comment - 18/Aug/05 07:03 AM
This has been fixed and I am unable to repro. Look to close this

Eddie O'Neil added a comment - 12/Sep/05 05:18 AM
Ken fixed this back in the summer...will try to find the appropriate change list...