Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-829

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • v1m1
    • None
    • Controls
    • None

    Description

      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).

      Attachments

        Activity

          People

            kentam Kenneth Tam
            kentam Kenneth Tam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: