on 2018 Jul 31 10:02 AM
Items that have a development table cannot be edited using smartedit.
In the Chrome debugger we get the following error: defaults.js:19 TypeError: Cannot read property 'toLowerCase' of undefined at n (cmssmarteditContainer.js:formatted:621) at Object.openNestedComponentEditor (cmssmarteditContainer.js:formatted:615) at Object.editComponent (cmssmarteditContainer.js:formatted:494) at Object.onEditComponentClicked (cmssmarteditContainer.js:formatted:460) at smarteditloader.js:1 at smarteditloader.js:1 at Array.map () at Object._recursiveCallToEventHandlers (smarteditloader.js:1) at Object.sendSynchEvent (smarteditloader.js:1) at Object. (smarteditloader.js:1)
After analyzing the error we found that we only have this issue when dealing with Items that have a Development table.
After analyzing the stack we noticed that there are two fields that always seem to have the same value (when dealing with Items without a development table) both "ItemType" and "ComponentType". The Items however that do have a development table dont have the attribute "ComponentType".
If i assign the value of the ItemType to the ComponentType (using the debugger) then it works.
Are we missing something in the Items.xml or is there an issue with Angular ?
Thank you in advance.
Kind regards.
David
Request clarification before answering.
| User | Count |
|---|---|
| 2 | |
| 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.