on ‎2018 Feb 23 12:46 PM
I am unable to create a new page in SmartEdit in Hybris 6.3
The display conditions are shown empty and the Done button is disabled as well. Even on enabling Done button via editing the disable check, it is still not creating a new page. I am getting the following issue in console on frontend :-
TypeError: Cannot read property 'submit' of undefined at Object.onDone (cmssmarteditContainer.js:5) at smarteditloader.js:1 at Object.b.executeIfCondition (smarteditloader.js:4) at f.executeAction (smarteditloader.js:4) at Object.callback (smarteditloader.js:4) at n._buttonPressed (smarteditloader.js:3) at fn (eval at compile (thirdparties.js:236), :4:481) at b (thirdparties.js:131) at e (thirdparties.js:279) at b.$eval (thirdparties.js:150) (anonymous) @ thirdparties.js:122 (anonymous) @ thirdparties.js:95 $apply @ thirdparties.js:150 (anonymous) @ thirdparties.js:279 dispatch @ thirdparties.js:3 q.handle @ thirdparties.js:3

Any help will be appreciated.
Request clarification before answering.
The issue occurred due to a null pointer exception when selecting the Page Type. In one of the defined pages, the label field was empty due to which the exception occured and smartedit could not load the next screens corresponding to the same. Once label field is added, the screens get loaded and we are able to create the corresponding page
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.