Default weight value is not saved, unless default entity is not specified too

Created on 20 March 2017, over 7 years ago
Updated 10 October 2023, 9 months ago

I noticed that Weight field's value is empty by default, but it should be either 0 or 1 based on the currently implemented logic.

After that, I tried to set the default weight to a positive integer without specifying a default referenced entity. The configuration has not been saved, but when I set the default referenced entity as well then the default weight get saved too.

✨ Feature request
Status

Needs review

Version

3.0

Component

Code (module)

Created by

πŸ‡­πŸ‡ΊHungary mxr576 Hungary

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024