Results 1 to 5 of 5

Thread: NavigatonView back button fails, multiple itemID's

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    559
    Vote Rating
    44
      0  

    Default NavigatonView back button fails, multiple itemID's

    Curious if anyone has hit this. I have a navigationView. I added three views to it. The last two containers had the same itemID (fat-fingered on my part) but different xtypes and class names. You can drill down to the last (3rd) container. Hit the back button, the 2nd container is shown. Hit the back button again, nothing. The 2nd views stays along with the auto-generated back button. As soon as I fixed the duplicate itemID, everything worked.

    Let me know if this is a known issue or expected.

    Thanks,
    John
    I love being a dad (5 & 7), flying airplanes (KBED) and writing code (spaghetti).
    BostonMerlin aka John Bond aka JB
    See U @ SenchaCon '13

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    Since itemId has to be unique, I would say that it's not surprising that the functionality was broken.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    559
    Vote Rating
    44
      0  

    Default

    I thought "ID" had to be unique ... not "itemID"???
    I love being a dad (5 & 7), flying airplanes (KBED) and writing code (spaghetti).
    BostonMerlin aka John Bond aka JB
    See U @ SenchaCon '13

  4. #4
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    Quote Originally Posted by BostonMerlin View Post
    I thought "ID" had to be unique ... not "itemID"???
    id has to be unique globally, itemId has to be unique to the direct parent
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  5. #5
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    559
    Vote Rating
    44
      0  

    Default

    Roger, that. Took me a couple of hours to track it down to itemID. Would be nice if ST raised an error when that happens.

    John.
    I love being a dad (5 & 7), flying airplanes (KBED) and writing code (spaghetti).
    BostonMerlin aka John Bond aka JB
    See U @ SenchaCon '13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •