percussion / percussioncms

Percussion CMS - Content Management System
https://percussioncmshelp.intsof.com/percussioncms
Apache License 2.0
12 stars 9 forks source link

Widget Builder - Auto Generate is throwing error and changes are not getting saved. #1229

Closed ramdev1980 closed 8 months ago

ramdev1980 commented 8 months ago

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Widget Builder
  2. Select a Widget and click edit.
  3. Click on Display Tab.
  4. Click on the Auto Generate (with Inspect element on in browser to see console error).
  5. Error are generated in console.
  6. And when we save it, the changes doesn't save

Expected behavior

No error should be generated in console and changes should be saved.

Screenshots image

Additional context JS Error VM1933:1 Uncaught SyntaxError: Identifier 'innerDiv' has already been declared at m (perc_widgetBuilder.packed.min.js:220:322) at He (perc_widgetBuilder.packed.min.js:314:4) at b.fn.init.append (perc_widgetBuilder.packed.min.js:316:341) at b.fn.init. (perc_widgetBuilder.packed.min.js:318:420) at B (perc_widgetBuilder.packed.min.js:282:286) at b.fn.init.html (perc_widgetBuilder.packed.min.js:318:98) at child.render (perc_widgetBuilder.packed.min.js:2982:46) at generateHtml (perc_widgetBuilder.packed.min.js:2984:236) at Object.success (perc_widgetBuilder.packed.min.js:2983:20) at HTMLDivElement.genericSuccess (perc_widgetBuilder.packed.min.js:2480:503)