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

The first time accessing persisted navigator state data, null is returned if persistNavigatorState is false.

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      0. Be sure an app starts with persistNavigatorState = false (the default).
      1. Set persistNavigatorState to true.
      2. Push a view.
      3. Playbook: Give focus to another app. Android: Press Home. This will write navigation data.
      4. Exit the app (force stop if Android).
      5. Start the app and start monitoring the log.
      6. Press 'load data' (This calls persistenceManager.getProperty("versionNumber"). Result: versionNumber = null.
      7. Press 'load data' again. Result: versionNumber = 0.0.0.

      If, after step 5, you had set persistNavigatorState to true, the data would have loaded the first time.

      Actual Results:
      The PersistenceNavigator did not load the data the first time it was used.

      Expected Results:
      The PersistenceNavigator should load the data the first time it is used.

      Workaround (if any):
      Call the PersistenceNavigator's load() method yourself.

      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: