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

When one of the projects is cleaned, the application cache is not cleared.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Compiler API
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. You would need to have source for flexstore for this test case (in order to use attached java file without any modifications)..
      2. copy flexstore.mxml and create flexstore2.mxml (no changes to contents are required.
      3. Compile attached java file using:

      javac -classpath <path to flex-compiler-oem.jar> AppCacheTest.java

      4. Run using:
      java -cp .:<path to flex-compiler-oem.jar> AppCacheTest <Path to root folder containing flexstore sources>

      Actual Results:
      After calling app.clean() the applicationCache.getSource("ProductsView"); returns a not null Source.

      The last system.out prints "Source object should be null false" should be "Source object should be null true"

      Expected Results:
      As per the spec, the cache is cleared when a project is cleaned. So I would expect the getSource() method to return null after a project is cleaned.

      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: