Menu

#652 Review / test UI state restoration error pathes

iphone_1.10
open
nobody
None
5
2020-08-02
2020-08-02
No

Missing UI state during restoration may not lead to a crash.
Verify that for all stored UI state elements a sufficient error strategy is implemented, like:

  • detection of missing values
  • default / fallback values
  • dismiss incomplete initialised view controllers
  • etc

Discussion

  • Christa Runge

    Christa Runge - 2020-08-02
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,6 @@
     Missing UI state during restoration may not lead to a crash. 
     Verify that for all stored UI state elements a sufficient error strategy is implemented, like:
    +
     * detection of missing values
     * default / fallback values
     * dismiss incomplete initialised view controllers
    
     
  • Christa Runge

    Christa Runge - 2020-08-02

    Investigate what is a good error strategy:

    • popViewControllerAnimated: what happens if this is not the last on the stack? Will it be removed in isolation?
    • popToViewControllerAnimated: how to locate the 'last good' parent? Responsibilities to provide error status and to perform strategy?
    • popToRootControllerAnimated: should work always - but maybe too hard?
     

Log in to post a comment.