touch ui page not getting refreshed on adding new component
Hi,
I am adding a touch ui component to the page, but am getting the below js error and the page is not getting refreshed, so am not able to edit the component. Only when i refresh the page manually am able to edit the component.
editor.js:5633 : Uncaught TypeError: Cannot read property 'getParentPath' of undefined
at Array.ns.store.self.getParent (http://52.86.19.183:4502/libs/cq/gui/components/authoring/clientlibs/editor.js:5633:41)
at Object.<anonymous> (http://52.86.19.183:4502/libs/cq/gui/components/authoring/clientlibs/editor.js:18000:47)
at fire (http://52.86.19.183:4502/etc/clientlibs/granite/jquery.js:3143:30)
at Object.fireWith [as resolveWith] (http://52.86.19.183:4502/etc/clientlibs/granite/jquery.js:3255:7)
at Object.deferred.(anonymous function) [as resolve] (http://52.86.19.183:4502/etc/clientlibs/granite/jquery.js:3345:34)
at http://52.86.19.183:4502/libs/cq/gui/components/authoring/clientlibs/editor.js:26200:104
at dispatch (http://52.86.19.183:4502/etc/clientlibs/granite/jquery.js:4665:9)
at elemData.handle (http://52.86.19.183:4502/etc/clientlibs/granite/jquery.js:4333:28)
I already have the cq:listeners for the components which have the property to refresh the page on adding a new component. Kindly suggest how to fix this js issue.