Keystone-classic: Unable to edit boolean values v0.3.19

Created on 17 Jun 2016  路  3Comments  路  Source: keystonejs/keystone-classic

I recently updated from version v0.3.12 to v0.3.19 and am now unable to edit boolean values through the admin UI. The fields are all set and functioning in the DB, and I've changed all my Boolean to Types.Boolean in the schema just to be safe.

When I try to click on one of the values I receive this error in the console.Uncaught TypeError: Cannot read property 'length' of undefined for keystone/packages.js. The checkbox does not change.

screen shot 2016-06-17 at 8 53 05 pm

Did I screw up the update somewhere or is this a bug? I'll close this issue asap if you believe it not to be a bug.

bug

All 3 comments

Could you update to v0.3.21 and check whether the issue still exists? In the last two releases some changes were made to the boolean field.

Updated to v0.3.21 and the error is still occurring. Thanks for the attempted solution.

screen shot 2016-06-21 at 8 38 47 pm

So I did a little line debugging. I expanded package.js and found that for some reason when I click on the Boolean value the event that actually appears is the a Search for an image from Cloudinary event... whose value is undefined.

It seems to swallow all the events of Boolean values on the page (when they're clicked). So instead of receiving the Boolean change event it receives the Cloudinary field_image_select object.

screen shot 2016-06-24 at 6 36 09 pm

I can do without the select an image field. Which if I remove everything works 馃憣

However I can continue to do more digging if necessary, just let me know. However I thought I should post this summary so far.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sorryididntmeantto picture sorryididntmeantto  路  3Comments

calebmcelroy picture calebmcelroy  路  3Comments

celiao picture celiao  路  4Comments

useralive003 picture useralive003  路  5Comments

Twansparant picture Twansparant  路  5Comments