Problem/Motivation

Following #3548884: SourceValueItem field synchronized translations, some Display Builder tests are falling:

Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
         'source_id' => 'textfield'
         'node_id' => '952f3ff8e00c7dcd'
         'source' => [...]
-        'third_party_settings' => null
+        'third_party_settings' => []
     )
 )

Proposed resolution

Fix that before tagging the new release.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

pdureau created an issue. See original summary.

pdureau’s picture

By the way, SourceValueList::getRawValues() is public but not covered by an interface and never called outside of the class (and not in the upcoming #3555110: Symmetric translation) except in some tests.

pdureau’s picture

Title: third_party_settings returning null instead of empty array » InstanceHistoryTest compatibility with UI Patterns 2.0.18
Project: UI Patterns (SDC in Drupal UI) » Display Builder
Version: 2.0.x-dev » 1.0.x-dev
Component: UI Patterns Field » Main / Misc.
Issue tags: +display_builder-1.0.0-beta6

The change is only one line in Display Builder side. I would advise to target beta6 because this will be the beta when we will move to UI Patterns 2.0.18 as a dependency: fd5a02e7c6b8925bd2d781fcf5e9ec4bb6905955

pdureau’s picture

Assigned: pdureau » mogtofu33
Status: Active » Needs review

  • mogtofu33 committed a875b5cb on 1.0.x authored by pdureau
    task: #3614785 InstanceHistoryTest compatibility with UI Patterns 2.0.18...
mogtofu33’s picture

Assigned: mogtofu33 » Unassigned
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.