Closed (fixed)
Project:
Picture
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2014 at 08:44 UTC
Updated:
19 Jun 2014 at 11:10 UTC
Jump to comment: Most recent
Using the latest dev release, I updated the feature which included picuture and breakpoint settings. Reverting the feature resulted in:
Missing argument 1 for PictureMapping::export(), called in [warning]
/.../sites/all/modules/contrib/features/features.export.inc on line 564 and
defined PictureMapping.php:357
... 6 times repeated ...
The feature diff included:
--- a/.../example.default_picture_mapping.inc
+++ b/.../example.default_picture_mapping.inc
@@ -21,16 +21,12 @@ function example_default_picture_mapping() {
'1x' => array(
'mapping_type' => 'image_style',
'image_style' => 'contentimage_bp_smartphone',
- 'sizes' => '',
- 'sizes_image_styles' => array(),
),
),
'breakpoints.theme.anna_y2014.tablet' => array(
'1x' => array(
'mapping_type' => 'image_style',
'image_style' => 'contentimage_breakpoint_tablet',
- 'sizes' => '',
- 'sizes_image_styles' => array(),
),
),
);
@@ -47,8 +43,6 @@ function example_default_picture_mapping() {
'1x' => array(
'mapping_type' => 'image_style',
'image_style' => 'headerimage_bp_tablet_1x',
- 'sizes' => '',
- 'sizes_image_styles' => array(),
),
),
);
Comments
Comment #1
attiks commentedComment #2
jelle_sSorry about that, fixed in latest dev (clone from git or wait 12 hours for drupal.org to catch up ;-))
Comment #3
jelle_sComment #4
sutharsan commentedThanks for the swift response!