Threaded View

    You found a bug! We've classified it as DSGNR-3368 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User ericbowden's Avatar
    Join Date
    May 2012
    Location
    Provo, UT
    Posts
    27
    Vote Rating
    2
    ericbowden is on a distinguished road

      2  

    Default TypeError: 'undefined' is not an object (evaluating 'h.substring') when loading store

    TypeError: 'undefined' is not an object (evaluating 'h.substring') when loading store


    REQUIRED INFORMATION

    Architect Build tested:
    • Build: 678
    Project Type:
    • Touch 2.1.x
    Description:
    • Architect throws an error when using a store with a DataView with a custom DataItem.
    Steps to reproduce the problem:
    • Create a model and store named 'store1' that properly loads data, set autoLoad to true. Right click store and click 'Load Data'
    • Create a DataItem with alias 'dataitem' with proper style with a child component that has a proper tpl
    • Create a DataView and check useComponents, defaultType to 'dataitem', and store to 'store1'
    • Click on different views in the Project Inspector to load and reload the CSS for the DataView
    The result that was expected:
    • Loading of the store in Architect with the proper layout of DataItems and CSS in the view
    The result that occurs instead:
    • Window saying that an error occured:
      Code:
      TypeError: 'undefined' is not an object (evaluating 'h.substring')
      Source Class: qrc:/designer/src/frameworks/touch21/framework/sencha-touch-all.js?0.3837460807990283 Line 18
    HELPFUL INFORMATION

    Screenshot, Project, or Video:
    Operating System:
    • Mac OS 10.7.5
    Attached Images