Linking then unlinking a field renders a wrong Field Widget: corrupt `StaticPropSource` is sent by client, server should detect this
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3558719. -->
Reported by: [jessebaker](https://www.drupal.org/user/3546546)
Related to !342
>>>
<h3 id="overview">Overview</h3>
<p>Using the my-hero test SDC on a content template<br>
Click on the CTA1 Href field click the linker icon and choose Relative URL<br>
Then after it's linked click the cross to unlink it.</p>
<p>Expected: The form looks as it did before linking<br>
Actual: The field is now split into two fields wrapped with a fieldset.</p>
<p><img src="https://www.drupal.org/files/issues/2025-11-18/linkunlink.gif" alt="demo of bug"></p>
<h3>Prevent future regression</h3>
<p>To prevent this regression from going unnoticed for a while in the future, add corruption detection:<br>
<img src="https://www.drupal.org/files/issues/2025-11-26/corruption%20detection.gif"></p>
<p>(This is with just the server-side changes, not the client-side changes. The client-side changes make this go away — the server-side changes make such a bug far easier to spot in the future! 👍)</p>
> Related issue: [Issue #3558721](https://www.drupal.org/node/3558721)
> Related issue: [Issue #3558448](https://www.drupal.org/node/3558448)
> Related issue: [Issue #3560005](https://www.drupal.org/node/3560005)
> Related issue: [Issue #3538487](https://www.drupal.org/node/3538487)
> Related issue: [Issue #3463996](https://www.drupal.org/node/3463996)
> Related issue: [Issue #3541000](https://www.drupal.org/node/3541000)
issue