Steps to reproduce:

* Create a new field of type Random Number Field on a content type
* Then go in and edit that content type (Manage Fields)
* Edit the created Random Number Field
* The field will have a default value populated in it
* This default value will then be saved

Problem outcome

* After the above steps have been carried out; any content then created will contain the same number as saved above

Intended outcome

* The edit field settings form should not save the populated value which would then allow the field to continue working as intended.

Workaround

* Presently this issue can be worked around by removing the default value when editing a random number fields settings.

Comments

andywhale created an issue. See original summary.

andy_w’s picture

Status: Active » Fixed
StatusFileSize
new1017 bytes

Fixed this by checking against the form route.

  • andy_w committed 23c5346 on 8.x-1.x
    Issue #2998575 by andy_w: When editing field settings for a field of...
andy_w’s picture

Status: Fixed » Closed (fixed)