Closed (duplicate)
Project:
Drupal core
Version:
10.1.x-dev
Component:
field system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Aug 2015 at 11:39 UTC
Updated:
1 Mar 2023 at 08:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alx_benjamin commentedComment #3
larowlanI don't think this meets the criteria for major
Comment #4
amateescu commentedThis is a duplicate of #2349819: String field type doesn't consider empty string as empty value.
Comment #5
alx_benjamin commented@amateescu This is not a duplicate but the issue you are mentioning is another problem with the same field.
The issue described here speaks about multiple empty input fields before saving node and the ticket you are mentioning is after saving node, while editing existing node. If anything these issues are related but way not the same.
Comment #6
amateescu commentedThis is a different symptom of the same bug. Try out the patch from that issue if you don't trust me :)
Comment #7
drugan commentedThis issue still exists for any field types with unlimited cardinality. The patch allows to display just one field instance by default.
Comment #8
amateescu commented@drugan, are you sure you're talking about the same issue? Can you post a screenshot with the problem that the patch from #7 is solving?
Comment #10
drugan commented@amateescu
There is simple text field added to user account entity. It is displayed duplicated by default on the field default value settings form (which is basically a form of a default form display mode of the entity form). Yes, it is displayed as a single instance on the account edit form but what I am trying to achieve is to render a custom unlimited cardinality field added to commerce_order entity on a checkout pane form using the following approach:
As it is a default commerce_order form display mode the field is displayed duplicated the same as on the field settings form.
Comment #11
drugan commentedComment #21
quietone commentedI tested this with Drupal 10.1.x, standard install. I followed the steps in the Issue Summary and could not reproduce the problem.
The problem in #10 is a different problem and should be moved to a separate issue. I created that issue, #3345149: Extra Default value field when adding a field with an unlimited values, moved the patch and added credit over there.
I am restoring the status of duplicate set in #4 and #6