Re: [Dev] [ES]Overriding a Global Page returns TypeError: Cannot read property "types" from undefined

2015-09-10 Thread Chanaka Jayasena
Issue seems to be with the navigation.hbs. To fix it add navigation.hbs to partial to /repository/deployment/server/jaggeryapps/store/extensions/app/store-device/themes/store/partials/. Start with an en empty file. You will be able to get rid of the error. Then type {{dump .}} in the file to see

Re: [Dev] [ES]Overriding a Global Page returns TypeError: Cannot read property "types" from undefined

2015-09-10 Thread Rasika Perera
@Himasha, I think it should be "store-common". @Chanaka Okay, will try to debug and isolate the error. Thank you On Thu, Sep 10, 2015 at 1:29 PM, Chanaka Jayasena wrote: > Issue seems to be with the navigation.hbs. To fix it add navigation.hbs to > partial to >

Re: [Dev] [ES]Overriding a Global Page returns TypeError: Cannot read property "types" from undefined

2015-09-10 Thread Himasha Guruge
Hi Rasika, Shouldn't it be 'store_common' instead of store-common? Thanks, Himasha On Thu, Sep 10, 2015 at 11:15 AM, Rasika Perera wrote: > Hi all, > > I am trying to partially override a global page in ES v2. I followed this > [1] doc. Here are the steps I followed; > > 1.

Re: [Dev] [ES]Overriding a Global Page returns TypeError: Cannot read property "types" from undefined

2015-09-10 Thread Rasika Perera
Hi All, Just found that issue is with the renderer "my_items.js". As chanaka mentioned, it consumes a "naviagation.hbs". This handlebar needs "navigationBar" page decorator which need to defined in "app.js". Therefore, I copied page decorators defined in "store-common/app.js" into my extension,