Skip to content

[Issue] set image rolls only if is_required is true #38695

Open
@in-session

Description

@in-session

Preconditions and environment

Especially when managing many product images with different functions, it often happens that the wrong image roles are used when creating products. Here the field is_required should be used to control which roles are necessary by default. An image role does not mean that it has to be filled, as long as it is not an is_required.

Magento version 2.4.6-p5

Steps to reproduce

  1. create a new product attributes media/images
  2. then create a new article and upload the image

Expected result

all roles are assigned to the first picture

Actual result

only necessary roles should be assigned to the first image

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Ashampoo_Snap_Freitag_-3.-Mai-2024_08h22m17s_003_.mp4

Productt attribute media / image should be available is_required to automatically assign the image role when creating a product:

image

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions