Clicking save in gallery causes a crash when file has been uploaded and saved, when clicking save again without any change.
Steps to reproduce the actual/current behavior
-Upload a file to Gallery
-Press save
-Press save again without changing anything
It crashes with error:
TypeError: Cannot read property 'public_id' of undefined at /usr/src/app/node_modules/keystone/fields/types/cloudinaryimages/CloudinaryImagesType.js:35:14
Clicking save in gallery causes a crash when file has been uploaded and saved, when clicking save again without any change.
Steps to reproduce the actual/current behavior
-Upload a file to Gallery -Press save -Press save again without changing anything
It crashes with error: TypeError: Cannot read property 'public_id' of undefined at /usr/src/app/node_modules/keystone/fields/types/cloudinaryimages/CloudinaryImagesType.js:35:14
Environment
http://demo.keystonejs.com/