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

incorrect error messages when nested vector is of unexpected type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 4.0 (Release)
    • Adobe Flex SDK Previous
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile attached mxml file.

      Actual Results:
      Error: Elements of this Vector must be of type 'String'.
      <mx:Vector type="String" id="foo"><mx:String>hi</mx:String></mx:Vector >

      Error: Elements of this Vector must be of type 'int'.
      <mx:Vector type="int" id="bar"><mx:int>100</mx:int></mx:Vector >

      Expected Results:
      Something like:

      Error: Elements of this Vector must be of type 'Vector.<String>'.
      for the top level vector

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: