Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294288

Missing image style effects after d7 to d8 migrate

$
0
0

As a extension of the issue https://drupal.org/node/2049465

When I does to any migrated style image manage page I got

Notice: Undefined index: id in Drupal\image\ImageEffectBag->initializePlugin() (line 58 of core/modules/image/lib/Drupal/image/ImageEffectBag.php).
Drupal\Component\Plugin\Exception\PluginException: The plugin () did not specify an instance class. в функции Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (строка 62 в файле /home/dev/domains/d8.dev.bighameleon.com/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php).

see attached screenshot

I try to create style image with same effects
and compare it config
hend made image style config

name: test
label: test
uuid: a9d83b8c-71e6-4508-9d00-c3e61aceeee4
status: '1'
langcode: ru
effects:
  52676e26-7d86-44d6-9b00-d3605b6f4388:
    uuid: 52676e26-7d86-44d6-9b00-d3605b6f4388
    id: image_scale
    weight: '1'
    data:
      width: '80'
      height: '80'
      upscale: '0'

migrated image style
name: 80x80
effects:
  835163a6-7726-4841-b304-048bb1f43d29:
    ieid: 835163a6-7726-4841-b304-048bb1f43d29
    weight: '1'
    name: image_scale
    data:
      width: '80'
      height: '80'
      upscale: '0'
label: 80x80

label key was added with image_update_8003 form patch https://drupal.org/node/2049465#comment-7681071

more complex checks shows me that this bug looks like

<?php
function _image_update_get_style_with_effects(array $style)
?>

from image.install not work properly
AttachmentSizeStatusTest resultOperations
экрана от 2013-07-25 08:41:04.png87.47 KBIgnored: Check issue status.NoneNone

Viewing all articles
Browse latest Browse all 294288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>