Default value of the field is not the same as configured

Created on 18 March 2022, about 3 years ago
Updated 19 February 2023, about 2 years ago

Problem/Motivation

There is some weird behavior of the social link field when visiting the node/add form. After each refreshing of a page - the default values of the field are changed to "random ones".

Steps to reproduce

1. Add social_link_field to node type.
2. Set any allowed number of values (tested on 1,2,4) and choose any social links (tested on Facebook+Instagram+Linkedin+YouTube).
3. Visit /node/add/{node-type} page and remember which social links are listed in your field.
4. Refresh the page. Now you may see that the social networks are changed.

Reproduced on fresh Drupal 9.3.7.

Proposed resolution

Fix this issue in the code.

πŸ› Bug report
Status

Closed: duplicate

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine quadrexdev Lutsk

Live updates comments and jobs are added and updated live.
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.71.5 2024