`list_string` field type's `label` field property added by Canvas crashes in `ListStringItemLabel::calculateDependencies()` when linked in a Content Template
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3588520. -->
Reported by: [kmwarboy](https://www.drupal.org/user/3842498)
Related to !1058
>>>
<h3 id="overview">Overview</h3>
<p>Working on creating a content template, I ran into a 500 error when trying to publish it:<br>
<code>assert($field_item_list instanceof FieldItemListInterface)</code></p>
<p>The field in the content type List (text) field and the filed in the component is a type: string . Is this a known bug, or anyone have any thoughts on this? on Canvas 1.3.3</p>
<p>It fails kind of silently. In the UI will act like it published the page, but it doesn't (the page remains in the queue of changes). The error only shows up in the console, not in the UI.</p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<p>The value of a List (text) field in a content type should be a valid match for a type: string field in an SDC </p>
<h3 id="ui-changes">User interface changes</h3>
<p>If this is not meant to be a valid field link, either don't allow the user to link it at all, or display a better error in the UI.</p>
issue