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

[TLF 2.0 - Integration] - a compiletime error that isn't caught until runtime

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Next
    • Spark: Image
    • None
    • Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Open the attached test case and compile it. No warnings
      2. run it in FlashBuilder (debugger)

      Actual Results:
      I don't get a compile time error in Flash Builder when I add the float or clear attribute but leave out its value.

      [SWF] Users:bsahlas:depot:flex:qa:development:eclipse:projects:DeepaTLF20Samples:bin-debug:DeepaTLF20Samples.swf - 3,508,281 bytes after decompression
      RangeError: Property clear value is out of range
      at flashx.textLayout.property::Property$/defaultErrorHandler()[/Users/bsahlas/depot/flex/qa/development/eclipse/TLF 2.0/textLayout_build/src/flashx/textLayout/property/Property.as:29]
      at flashx.textLayout.property::Property/setHelper()[/Users/bsahlas/depot/flex/qa/development/eclipse/TLF 2.0/textLayout_build/src/flashx/textLayout/property/Property.as:197]
      at flashx.textLayout.formats::TextLayoutFormat/setCoreStyle()[/Users/bsahlas/depot/flex/qa/development/eclipse/TLF 2.0/textLayout_build/src/flashx/textLayout/formats/TextLayoutFormat.as:517]
      at flashx.textLayout.formats::TextLayoutFormat/set clear()[/Users/bsahlas/depot/flex/qa/development/eclipse/TLF 2.0/textLayout_build/src/flashx/textLayout/formats/TextLayoutFormat.as:1850]
      at flashx.textLayout.elements::FlowElement/set clear()[/Users/bsahlas/depot/flex/qa/development/eclipse/TLF 2.0/textLayout_build/src/flashx/textLayout/formats/TextLayoutFormatInc.as:1431]
      at comp::ImgFloatEnd/_ImgFloatEnd_InlineGraphicElement1_c()[/Users/bsahlas/depot/flex/qa/development/eclipse/projects/DeepaTLF20Samples/src/comp/ImgFloatEnd.mxml:4]
      at comp::ImgFloatEnd/_ImgFloatEnd_ParagraphElement1_c()[/Users/bsahlas/depot/flex/qa/development/eclipse/projects/DeepaTLF20Samples/src/comp/ImgFloatEnd.mxml:4]
      at comp::ImgFloatEnd()[/Users/bsahlas/depot/flex/qa/development/eclipse/projects/DeepaTLF20Samples/src/comp/ImgFloatEnd.mxml:4]
      at DeepaTLF20Samples/_DeepaTLF20Samples_ImgFloatEnd1_i()
      at DeepaTLF20Samples/_DeepaTLF20Samples_Array3_i()
      at DeepaTLF20Samples()[/Users/bsahlas/depot/flex/qa/development/eclipse/projects/DeepaTLF20Samples/src/DeepaTLF20Samples.mxml:8]
      at _DeepaTLF20Samples_mx_managers_SystemManager/create()[_DeepaTLF20Samples_mx_managers_SystemManager.as:49]
      at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as:311]
      at mx.managers::SystemManager/initializeTopLevelWindow()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as:2913]
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as:2730]
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as:2610]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.preloaders::Preloader/timerHandler()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/framework/src/mx/preloaders/Preloader.as:539]
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()

      Expected Results:

      Workaround (if any):

      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: