Problem/Motivation

If a product contains multiple groups of options, only the first group of options is saved to the database and displayed on the site.

Proposed resolution

The issue is occurring because the options are stored as a map field, but no properties are defined for the map, so only first array key (array ket 0) is allowed to be set and subsequent array keys are ignored.

Remaining tasks

Write a patch.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

All products will need to be re-sycned using the synchronization form by site owners in order to resave product options data.

CommentFileSizeAuthor
#2 3151816-2.patch645 bytesbobbygryzynger

Comments

bobbygryzynger created an issue. See original summary.

bobbygryzynger’s picture

StatusFileSize
new645 bytes

The attached patch ensures only the first array key is set with the options.

bobbygryzynger’s picture

Status: Active » Needs review

  • bobbygryzynger authored a9fcede on 8.x-1.x
    Issue #3151816 by bobbygryzynger: Options missing when there is more...
bobbygryzynger’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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