Problem/Motivation

#2980649: Add a limit to the query executed for the autocomplete results added a limit key to the matcher settings, but it did not update the shipped default configuration. This leads to unnecessary Git diffs when copy-pasting the default configuration or when using Config Overlay.

Also, the Linkit result thumbnail is missing the crop anchor for the Scale and Crop image effect.

Steps to reproduce

After freshly installing Linkit, export the configuration and compare the exported linkit.linkit_profile.default configuration with the shipped one. Notice that they differ (not only in the added UUID and default config hash, but also) in that the exported one has the limit set, and the shipped one does not.

Similarly for the image.style.linkit_result_thumbnail configuration.

Proposed resolution

Add the limit and the anchor to the default configuration.

Remaining tasks

User interface changes

None.

API changes

None.

Data model changes

None.

Issue fork linkit-3240789

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tstoeckler created an issue. See original summary.

tstoeckler’s picture

tstoeckler’s picture

Status: Active » Needs review
tstoeckler’s picture

Title: Shipped default Linkit profile configuration does not match the imported state » Shipped configuration does not match the imported state
Issue summary: View changes

Found a similar issue with the image style, so slightly expanding the scope here.

Sutharsan’s picture

Status: Needs review » Reviewed & tested by the community

MR looks good. I agree with the way the problem is fixed. Checked the provided default values.

johnwebdev’s picture

Status: Reviewed & tested by the community » Fixed

Not sure why the commit isn't visible here, but: https://git.drupalcode.org/project/linkit/-/commit/a62e07cd9a407953fe267...

Thanks!

johnwebdev’s picture

Status: Fixed » Closed (fixed)

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