Results 1 to 3 of 3

Thread: Exception in component.getConfig('itemId') if itemId does not exist.

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Jul 2015
    Posts
    11

    Default Exception in component.getConfig('itemId') if itemId does not exist.

    "TypeError: Cannot read property 'names' of undefined".
    Last edited by Dzenly; 19 Jul 2016 at 6:56 PM. Reason: beautifying.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. Can you please post a test case which reproduces this issue?
    https://fiddle.sencha.com/#home

  3. #3
    Sencha User
    Join Date
    Jul 2015
    Posts
    11

    Default

    I met this for all my components, which are without itemId, so I pretty sure that it will be reproduced for all cases you can imagine yourself.Let me know if you tried some case and did not reproduce the bug, then I will try to create it in your fiddle.For now I workarounded it by getConfig().itemId.

Similar Threads

  1. Adding component with same itemId
    By oLaNceLoTo in forum Ext 5: Q&A
    Replies: 10
    Last Post: 18 Mar 2015, 2:46 AM
  2. Dot (.) in itemId of component
    By arpit_jain in forum Ext 5: Q&A
    Replies: 3
    Last Post: 28 Aug 2014, 7:18 PM
  3. suggestion: when promoting an event to a controller, check for itemid exist and warn
    By pkellner in forum Sencha Architect 2.x: Help & Discussions
    Replies: 0
    Last Post: 9 Jul 2013, 7:42 PM
  4. Access to nested component by itemId
    By Antronak in forum Ext: Discussion
    Replies: 4
    Last Post: 11 Oct 2011, 2:44 PM
  5. How to access the component using itemId
    By rchavan in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 5 Mar 2010, 2:46 AM

Posting Permissions

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