Skip to content

[2.2.4] Gallery theme variables being ignored #15009

Closed
@gwharton

Description

@gwharton

(Some) Variables set in the theme's view.xml for the gallery widget appear to be ignored in 2.2.4 (This may also affect other variables, I don't know)

Preconditions

  1. Magento 2.2.4 installed from git
  2. No modules
  3. Single website, theme set to luma

Steps to reproduce

  1. Create product and assign product image, ensuring you set the AltText for the image
  2. View product on frontend

Expected result

  1. as the luma theme sets the variable gallery/caption to false the AltText should not be displayed on the gallery widget.

Actual result

  1. The product image has the AltText displayed at the bottom.

This is new behaviour in 2.2.4. 2.2.3 did not do this.

I also have some other third party code that throws a wobbler, when it looks for the variable gallery/fullscreen/navarrows which it says does not exist, even though it is also declared in lumas view.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions