1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    12
    Vote Rating
    1
    istanczyk is on a distinguished road

      0  

    Default Unanswered: navigationview back button failing on circular items

    Unanswered: navigationview back button failing on circular items


    i'm pushing views onto a navigationview. some of these views link to other views. so we can up with a circular stack like

    [a, b, c, b, etc...]

    now, when i use the back button starting at say, the last item 'b' in the above array the back button will work until i get back to the first item 'b' and then the back button will stop working. no erros, nothing. just total, silent failure. i've also tried manually calling .push() on the nav view from this point, and that fails as well.

    what about how I am doing this would cause the navigation view to be completely incapacitated like this?

    thank you
    ian

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Answers
    3356
    Vote Rating
    750
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What does the config look like for the b items? Do you use the id or itemId config? Are they the same instance or different instances of the same class?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    12
    Vote Rating
    1
    istanczyk is on a distinguished road

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    What does the config look like for the b items? Do you use the id or itemId config? Are they the same instance or different instances of the same class?
    i am using itemId not id

    the b items are instances of the same class.

    have yet to find the underlying issue but have been able to determine that the nav view fails whenever i add a second instance of a class to the navigation stack and then return to the first instance. e.g. if it were

    [a, c, b, c]

    the back button will stop working when i return to c...but i can keep moving forward in the stack indefinitely with no issues. very strange.

    what are some typical causes of nav view silent failure?

    many thanks

  4. #4
    Sencha User
    Join Date
    May 2012
    Posts
    12
    Vote Rating
    1
    istanczyk is on a distinguished road

      0  

    Default


    so i was able to fix this by removing the itemId config on classes c and b respectively.

    I'm at a complete loss for why having an itemId would cause this problem and it'd be nice for future troubleshooters to have an understanding why. Silent component failures like this are massive time sucks

  5. #5
    Sencha User
    Join Date
    Jul 2012
    Posts
    1
    Vote Rating
    0
    jacobtabak is on a distinguished road

      0  

    Default


    I also had this problem and resolved it by removing the itemId from the views that are added to the navigationview. This is a really nasty bug, I hope it gets documented and fixed.

Thread Participants: 2

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar