- Issue created by @maxilein
- πΊπΈUnited States danflanagan8 St. Louis, US
Thanks for the report.
I just ran the tests on current and previous majors and unfortunately did not get any fails.
https://git.drupalcode.org/project/viewfield/-/pipelines/340030
Darn. Some fails would have helped.
- π¦πΉAustria maxilein
Here is the viewfield export:
uuid: 7073b662-1d42-41bd-9ea5-959040ee8e46
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_event_buttons_interna
- node.type.event
- views.view.event_admin
module:
- epp
- viewfield
third_party_settings:
epp:
value: ''
on_update: 0
id: node.event.field_event_buttons_interna
field_name: field_event_buttons_interna
entity_type: node
bundle: event
label: 'event buttons interna'
description: ''
required: true
translatable: false
default_value:
-
target_uuid: 28090915-ef47-4ffd-9825-da796e9612e8
display_id: block_1
arguments: '[node:nid]'
items_to_display: ''
token_help: ''
default_value_callback: ''
settings:
force_default: true
allowed_views:
event_admin: event_admin<>
allowed_display_types:
block: block
default: '0'
entity_reference: '0'
feed: '0'
page: '0'
handler: 'default:view'
handler_settings: { }
field_type: viewfield - π¦πΉAustria maxilein
and here is the view of the field
uuid: 28090915-ef47-4ffd-9825-da796e9612e8
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_company
- field.storage.node.field_event_due
- field.storage.node.field_event_status
- field.storage.node.field_event_typ
- field.storage.node.field_event_verantwortl_person
- field.storage.node.field_event_zeitpunkt
- field.storage.node.field_event_zu_betrifft
- node.type.event
module:
- datetime
- datetime_range
- node
- user
id: event_admin
label: 'Event Admin'
module: views
description: 'Buttons und Viewfieldviews auf Events'
tag: ''
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
title: 'Event Admin'
fields:
field_company:
id: field_company
table: node__field_company
field: field_company
relationship: none
group_type: group
admin_label: 'Content: Company Entity ID'
plugin_id: field
label: ''
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_entity_id
settings: { }
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
nid:
id: nid
table: node_field_data
field: nid
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: nid
plugin_id: field
label: ''
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: number_integer
settings:
thousand_separator: ''
prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: Title
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: false
ellipsis: false
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_event_zu_betrifft:
id: field_event_zu_betrifft
table: node__field_event_zu_betrifft
field: field_event_zu_betrifft
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'EVENT zu Entity ID'
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_entity_id
settings: { }
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_event_status:
id: field_event_status
table: node__field_event_status
field: field_event_status
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_event_typ:
id: field_event_typ
table: node__field_event_typ
field: field_event_typ
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_event_verantwortl_person:
id: field_event_verantwortl_person
table: node__field_event_verantwortl_person
field: field_event_verantwortl_person
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_event_due:
id: field_event_due
table: node__field_event_due
field: field_event_due
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: datetime_plain
settings:
timezone_override: Europe/Vienna
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_event_zeitpunkt:
id: field_event_zeitpunkt
table: node__field_event_zeitpunkt
field: field_event_zeitpunkt
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: true
alter:
alter_text: true
text: '{{ field_event_zeitpunkt__value }}'
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: daterange_default
settings:
timezone_override: ''
format_type: medium
separator: '-'
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_event_zeitpunkt_1:
id: field_event_zeitpunkt_1
table: node__field_event_zeitpunkt
field: field_event_zeitpunkt
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Wann Ende'
exclude: true
alter:
alter_text: true
text: '{{ field_event_zeitpunkt_1__end_value }}'
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: end_value
type: daterange_default
settings:
timezone_override: ''
format_type: medium
separator: '-'
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
title_1:
id: title_1
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: 'Title: rewritten: FollowUP+'
entity_type: node
entity_field: title
plugin_id: field
label: ''
exclude: true
alter:
alter_text: true
text: "{# Default Duration as Duration of the Event #}\r\n{# Start DateTime #}\r\n{% set myStartDate = field_event_start|date(\"Y-m-d\") %}\r\n{% set myStartTime = field_event_start|date(\"H:i:s\") %}\r\n{% set myJahr = myStartDate|date(\"Y\") %}\r\n{% set myMonat = myStartDate|date(\"n\") %}\r\n{% set myTag = myStartDate|date(\"j\") %}\r\n{# Correct Secs to 00 #}\r\n{% set mySecs = myStartTime|date(\"s\") %}\r\n{% set myStartTimeCorrected = myStartTime|date_modify('-'~mySecs~' seconds')|date(\"H:i:s\") %}\r\n{# End DateTime (may cross end of day!) #}\r\n{% set myEndDateObject = field_event_ende|date(\"Y-m-d H:i:s\") %}\r\n{% set myEndDate = field_event_ende|date(\"Y-m-d\") %}\r\n{% set myEndTime = field_event_ende|date(\"H:i:s\") %}\r\n{# Correct Secs to 00 #}\r\n{% set myEndSecs = myEndTime|date(\"s\") %}\r\n{% set myEndTimeCorrected = myEndTime|date_modify('-'~myEndSecs~' seconds')|date(\"H:i:s\") %}\r\n{# Load the current user #}\r\n{% set u = bamboo_load_currentuser() %}\r\n{% set n = u.getUsername() %}\r\n/add/event?comp={{field_company}}&eventzu={{field_event_zu_betrifft}}&eventstatus=227&eventtyp=308&verantwl={{u.uid.value}}&b={{myStartDate}}T{{myStartTimeCorrected}}&e={{myEndDate}}T{{myEndTimeCorrected}}&eventsrelated={{nid}}&edit[title][widget][0][value]={{title}}&no=0"
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
nothing_2:
id: nothing_2
table: views
field: nothing
relationship: none
group_type: group
admin_label: 'Global custom text FollowUp+ Link'
plugin_id: custom
label: ''
exclude: true
alter:
alter_text: true
text: 'Folge Event+'
make_link: true
path: 'node{{ title_1 }} '
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: 'Folge-Event anlegen'
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: false
nothing_1:
id: nothing_1
table: views
field: nothing
relationship: none
group_type: group
admin_label: 'Global: custom text Duplikat anlegen'
plugin_id: custom
label: ''
exclude: true
alter:
alter_text: true
text: 'Clone Event'
make_link: true
path: '/entity_clone/node/{{nid}}'
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: 'Duplikat anlegen'
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: _blank
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: false
dropbutton:
id: dropbutton
table: views
field: dropbutton
relationship: none
group_type: group
admin_label: ''
plugin_id: dropbutton
label: ''
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
destination: false
fields:
nothing_2: nothing_2
nothing_1: nothing_1
field_company: '0'
nid: '0'
title: '0'
field_event_zu_betrifft: '0'
field_event_status: '0'
field_event_typ: '0'
field_event_verantwortl_person: '0'
field_event_due: '0'
field_event_zeitpunkt: '0'
field_event_zeitpunkt_1: '0'
title_1: '0'
nothing:
id: nothing
table: views
field: nothing
relationship: none
group_type: group
admin_label: ''
plugin_id: custom
label: ''
exclude: false
alter:
alter_text: true
text: "{{ nothing_2 }}\r\n{{ nothing_1 }}"
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: false
pager:
type: none
options:
offset: 0
items_per_page: 0
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
empty: { }
sorts:
created:
id: created
table: node_field_data
field: created
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: created
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: created
exposed: false
granularity: second
arguments:
nid:
id: nid
table: node_field_data
field: nid
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: nid
plugin_id: node_nid
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: node
default_argument_options: { }
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
type:
id: type
table: node_field_data
field: type
entity_type: node
entity_field: type
plugin_id: bundle
value:
event: event
expose:
operator_limit_selection: false
operator_list: { }
style:
type: default
options:
grouping: { }
row_class: zeiterf
default_row_class: true
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_company'
- 'config:field.storage.node.field_event_due'
- 'config:field.storage.node.field_event_status'
- 'config:field.storage.node.field_event_typ'
- 'config:field.storage.node.field_event_verantwortl_person'
- 'config:field.storage.node.field_event_zeitpunkt'
- 'config:field.storage.node.field_event_zu_betrifft'
block_1:
id: block_1
display_title: 'B Event Buttons interna'
display_plugin: block
position: 1
display_options:
display_description: 'Zeiterf. +'
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_company'
- 'config:field.storage.node.field_event_due'
- 'config:field.storage.node.field_event_status'
- 'config:field.storage.node.field_event_typ'
- 'config:field.storage.node.field_event_verantwortl_person'
- 'config:field.storage.node.field_event_zeitpunkt'
- 'config:field.storage.node.field_event_zu_betrifft' - πΊπΈUnited States danflanagan8 St. Louis, US
I spun up umami with D10.3.8 and I'm not having any luck triggering the error. I made a content type with a viewfield and added a few of those nodes. Then I made a view of those nodes. I used [node:nid] as a argument for one of the viewfields. Still no errors.
While the txt file in #8 is non-unhelpful, it's only so useful since there are many other dependencies and I can't import that config.
I don't think there's anything I can do until there's either:
1. More of a backtrace with the error
or
2. Steps to reproduce starting with a new install
- π³πΏNew Zealand jonathan_hunt
I had a similar issue after updating to Drupal 10.3.8 and viewfield was implicated as removing the viewfield from the node display allowed the node to display without error. I tracked the problem down to a view field that used a twig value in "Output this field as a custom link" and the twig value
{{ view_node }}
had a trailing space. Removing the space and saving the view fixed the Client error issue. - π¦πΉAustria maxilein
Thank you very much jonathan_hunt!
That exactly did the trick.I had a few twig values with trailling blanks. None with leading blanks.
@danflanagan8:
is #10 sufficient information in order to either trim that value or find some other solution? - πΊπΈUnited States danflanagan8 St. Louis, US
If I'm understanding correctly, then there is no bug in the
viewfield
module. This module in no way allows configuration like "Output this field as a custom link". The way I see this is that when a misconfigured View is referenced byviewfield
there can be trouble. But that's a problem with the View configuration, not a problem withviewfield
.Am I wrong? Should we close this as "Works as Designed"?
- π³πΏNew Zealand jonathan_hunt
@danflanagan8 Yes, the issue seems to be with Drupal 10.3.8 and the new
symfony/http-foundation
6.4.14 that is less forgiving of URLs with leading or trailing spaces. It seemsviewfield
is an innocent conduit here and not the root cause. - π¦πΉAustria maxilein
But there is an issue that has supposedly fixed that. I used that patch ( https://www.drupal.org/project/drupal/issues/3486195 π An update to symfony/http-foundation plus a trailing space took down the views UI Active ) but it did not solve the issue.
So there must be some other position in code that handles viewfield views. Otherwise there would have been no error. - π¦πΉAustria maxilein
Is there something we can add as information to the other issue https://www.drupal.org/project/drupal/issues/3486195 π An update to symfony/http-foundation plus a trailing space took down the views UI Active ? A place they should look at?
A test that is maybe missing? - πΊπΈUnited States danflanagan8 St. Louis, US
The other issue is some protective code that's added to Views UI. I think that prevents a WSOD when editing a View in Views UI, and it may prevent saving a misconfigured View.
However, there are no update hooks or the like to fix existing Views configuration that has extra spaces. Nor would that issue fix any extra-space bugs that would be the result of a bad template or something like that.
And it sounds like that's where your problem crept in, right? Trailing spaces in twig (either in the View config or in the template)?
- π¦πΉAustria maxilein
Well, then the only thing left is thank everybody here for helping out!
- πΊπΈUnited States danflanagan8 St. Louis, US
Great! I'm going to change this to a support request and mark it fixed so that we can get credit to @jonathan_hunt.
Cheers!
Automatically closed - issue fixed for 2 weeks with no activity.