Problem/Motivation

Opacity value not save on migration.

Steps to reproduce

create a color_field type in Drupal 7 and migrate in Drupal 8/Drupal 9.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

amarlata created an issue. See original summary.

amarlata’s picture

amarlata’s picture

imalabya’s picture

Status: Active » Needs review
imalabya’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me. Moving to RTBC

wim leers’s picture

Title: Opacity value not migrated from D7 to D8/D9 » Follow-up for #3054676: Opacity value not migrated from D7 to D8/D9
wim leers’s picture

+++ b/src/Plugin/migrate/field/ColorField.php
@@ -29,6 +29,7 @@ class ColorField extends FieldPluginBase {
+        'opacity' => 'opacity',

Looks good based on https://git.drupalcode.org/project/color_field/-/blob/7.x-2.x/color_fiel... and https://git.drupalcode.org/project/color_field/-/blob/8.x-2.x/src/Plugin... :)

nickdickinsonwilde’s picture

Assigned: amarlata » Unassigned
Status: Reviewed & tested by the community » Fixed

committed, thanks

wim leers’s picture

@NickDickinsonWilde Any chance you're tagging a release soon? 🤞🤓

nickdickinsonwilde’s picture

Well... got half a dozen bug fixes commited in the last couple days. I'm in favour of not letting stuff sit on dev too long. Either Wednesday or next weekend for the release. Want to properly review/resolve if possible in a short timeframe most of the other tickets too.

wim leers’s picture

Lovely, thank you! :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.