presseddigital / colorit

A slick color picker fieldtype plugin for the Craft CMS control panel
Other
21 stars 8 forks source link

Colorit Field - not displaying presets #24

Open CreateSean opened 4 years ago

CreateSean commented 4 years ago

Craft 3.4.21 ColorIt 1.0.9.3

I have an existing site where I was using FruitStudios color it and then migrated to Presseddigital when it was purchased by you.

However now I am unable to edit any colorit fields or matrix fields containing a colorit field. If I make any edits then the presets disappear and in the publish page the options for colors disappear.

for example this is a matrix field where I edited the instructions and then this happened. image field settings: image

Presets exist but are no longer available:

image

Please advise

siebird commented 4 years ago

I'm having the same issue at @CreateSean.

StephanFriedli commented 4 years ago

Same here @CreateSean. I still have the presets but can't select them in the field anymore.

siebird commented 4 years ago

Found the issue. This is a migration bug.

Update the type column in colorit_presets database table to presseddigital\colorit\fields\ColoritField

jonathanmelville commented 4 years ago

Thank you @siebird, this is in fact a fix. This seem like a critical bug, been open for a while...

proimage commented 4 years ago

There are a number of other instances of fruitstudios\colorit in the database... looks to me like one per Colorit field. Do those need to be updated as well?

siebird commented 4 years ago

Yep. All records of Colorit swatches in that table need updated

brettburwell commented 4 years ago

Thanks for posting this fix @siebird. This was hugely helpful.