Drupal 10.2 - field values on decimal fields getting lost

Created on 2 August 2024, 5 months ago

Problem/Motivation

Values in decimal fields are not saved anymore. Existing values are getting lost after saving the form.

Steps to reproduce

Saving encrypted decimal field in drupal ^10.2

Data model changes

looks like the data type of the field has (silently) changed to "decimal". It was "string" before.

Proposed resolution

Checking on "decimal" in `getUnencryptedPlaceholderValue()`

🐛 Bug report
Status

Active

Version

3.1

Component

Code

Created by

🇩🇪Germany pp.panatom

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024