Data loss occurs when editing field with more questions than options.
in \Drupal\rating_field\Plugin\Field\FieldWidget\RatingWidgetBase::getSelectedOptions()
we loop over the options instead of the questions. That means that if you have questions than options the values will be empty.
This happens when we have a validation error on another form field while editing the entity.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3240801-rating-field-data-loss-1.patch | 2.01 KB | tim_dj |
Issue fork rating_field-3240801
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
tim_djComment #3
tim_djComment #7
gorkagr commented