colorit icon indicating copy to clipboard operation
colorit copied to clipboard

Colorit Field - not displaying presets

Open CreateSean opened this issue 5 years ago • 7 comments

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

CreateSean avatar Jun 08 '20 14:06 CreateSean

I'm having the same issue at @CreateSean.

siebird avatar Jun 18 '20 20:06 siebird

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

StephanFriedli avatar Jul 04 '20 23:07 StephanFriedli

Found the issue. This is a migration bug.

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

siebird avatar Jul 08 '20 14:07 siebird

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

jonathanmelville avatar Aug 05 '20 18:08 jonathanmelville

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?

proimage avatar Aug 12 '20 11:08 proimage

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

siebird avatar Aug 12 '20 11:08 siebird

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

brettburwell avatar Sep 29 '20 19:09 brettburwell