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

[Player 2736775] Image does not show a broken image when source is to an xml file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Adobe Flex SDK 4.1 (Release)
    • None
    • mx: Image
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run: <mx:Image id="img" source="http://server.arcgisonline.com/crossdomain.xml" ioError="trace(event)"/>

      Actual Results:
      Nothing is visible and no ioError occurs.

      Expected Results:
      ioError should be thrown and the broken image skin should be shown.

      Workaround (if any):
      None.

      It seems to maybe be a problem with the Loader not throwing an ioError if the content is xml. I do get an error if I try to load html like http://www.google.com/. I'm trying to load a crossdomain.xml file just as a demonstration of the problem. Here's the real url I'd like to get an ioError for:
      http://sampleserver1.arcgisonline.com/arcgis/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?VERSION=1.3.0&REQUEST=GetMap&BBOX=16.635961384873326,-125.192865,57.09869661512667,-66.105824&SERVICE=WMS&HEIGHT=919&FORMAT=image/png&STYLES=&CRS=EPSG:4326&WIDTH=1342&TRANSPARENT=TRUE&LAYERS=0,2,7

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: