dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
851 stars 467 forks source link

"Language" and "Host" Search fields missing when relating content on Content Types with multiple relationship fields - v5.1.2+ #19204

Closed craigWagner99 closed 4 years ago

craigWagner99 commented 4 years ago

As reported in tickets: https://dotcms.zendesk.com/agent/tickets/102261 - v5.3x https://dotcms.zendesk.com/agent/tickets/102245 - v5.1.6

If a Content Type has multiple relationship fields the Language and Host 'Search" fields disappear when attempting to relate the content.

Flushing cache seems to temporarily fix the problem, but it comes back.

This occurs in version 5.1.2+

To Reproduce Steps to reproduce the behavior:

  1. Add multiple Relationship fields to a Content Type.
  2. Create a new contentlet of the Content Type
  3. Attempt to relate content

Expected behavior All "Search" fields in the Relationship modal should be available.

Instead, Language and Host fields disappear even though their labels are still there.

Screenshots

MP4 demonstrating the issue: 2020-08-28_11h49_31.zip

image

image

image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

hmoreras commented 4 years ago

PR: https://github.com/dotCMS/core/pull/19226/

jasontt33 commented 4 years ago

http://travel.developer-ingenico.com/dotAdmin and check for "Travelhub - Payment Product" content (for instance "Giropay") then for some relationship fields you will see this issue (for instance "key benefits" or "introduction text"). Please don't change the content though :)

bryanboza commented 4 years ago

Fixed, tested on release-5.3.8 // Postgres // FF