YouweGit / pimcore-workflow-gui

Adds a nice GUI to Pimcore Workflows
Other
29 stars 16 forks source link

Place Settings Form Colorfield JS Error #12

Closed ivanmerta closed 5 years ago

ivanmerta commented 5 years ago

Hi,

I am using Pimcore v 5.6.1 and I am getting below JS error when creating or editing place - the form doesn't show up. It comes from colorfield item in the settingsForm in place.js file - changed in #8 . Seems to work well when I change back to textfield.

Uncaught TypeError: Cannot read property 'r' of null
    at HEX6 (ColorUtils.js?_dc=1548064471762:51)
    at Object.lowerized.(/admin/anonymous function) [as hex6] (http://pimcore-dev2-6054cd5ec26285d7.elb.us-east-1.amazonaws.com/bundles/pimcoreadmin/js/lib/ext/ux/colorpick/ColorUtils.js?_dc=1548064471762:523:23)
    at constructor.formatColor (Selection.js?_dc=1548064471762:60)
    at constructor.applyValue (Selection.js?_dc=1548064471762:56)
    at constructor.setValue (Field.js?_dc=1548064471287:142)
    at Ext.Configurator.configure (ext-all-debug.js?_dc=d25e9a10e8ac2ee306563976c26384874a309cd3:10454)
    at constructor.initConfig (ext-all-debug.js?_dc=d25e9a10e8ac2ee306563976c26384874a309cd3:11866)
    at constructor (ext-all-debug.js?_dc=d25e9a10e8ac2ee306563976c26384874a309cd3:62493)
    at new constructor (ext-all-debug.js?_dc=d25e9a10e8ac2ee306563976c26384874a309cd3:12296)
    at Object.widget (ext-all-debug.js?_dc=d25e9a10e8ac2ee306563976c26384874a309cd3:14662)
jorisros commented 5 years ago

Pull request #13

jorisros commented 5 years ago

Has been solved

ivanmerta commented 5 years ago

Thanks!