Reputation: 1012
I have tried to implement a rallyaddnew button, and using the configuration provided in the example, I receive the following error when I click on the button (this is also the case in the "Live Preview":
Uncaught TypeError: Object #<Object> has no method 'getContextPath' sdk.js:59857
a.define._onNewClicked sdk.js:59857
fire sdk.js:4371
Ext.define.continueFireEvent sdk.js:13154
Ext.define.fireEvent sdk.js:13140
a.define._interceptBefore.c.(anonymous function) sdk.js:56055
Ext.define.fireHandler sdk.js:40307
Ext.define.onClick sdk.js:40303
(anonymous function)
Ext.apply.createListenerWrap.g sdk.js:4766
The component fails to expand to show a text field and the “Add with Details” button.
Upvotes: 0
Views: 85
Reputation: 1237
This is a known defect in SDK preview 2.0p3 and will be addressed with the next version.
Your App will work properly inside of a custom App Panel in Rally though.
Upvotes: 1