Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34389

Different behaviour when binding to xmlroot.@attribute.toString().length and xmlroot.child.@attribute.toString().length

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      In Flex 4 (4.12.1 and 4.11.0), binding to xmlroot.child.@attribute.toString().length works if compile the application with keep-generated-actionscript flag. Otherwise, it gives this runtime error (_testXml is the xml data and keepFlagTest is the application):

      ReferenceError: Error #1069: Property _testXml not found on keepFlagTest and there is no default value.
      at _keepFlagTestWatcherSetupUtil/setup() ...

      Note that binding to xmlroot.child.@attribute.toString().length works in Flex 3 (3.3) and binding to xmlroot.@attribute.toString().length works in both Flex 3 (3.3) and Flex 4 (4.12.1 and 4.11.0).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              xm Mei Xue

              Dates

              • Created:
                Updated:

                Issue deployment