core icon indicating copy to clipboard operation
core copied to clipboard

Relating to a widget does not display fields correctly

Open Xander-Steinmann opened this issue 12 years ago • 2 comments

When you have a relationship with a widget, and you want to relate it to a piece of content then the pop-up is displayed improperly. It can probably be fixed with some CSS or by not adding some constant fields.

2014-03-03 113910-content search _ dotcms

It can be reproduced on the demo website:

  1. Create a new relationship between the google maps widget and the comments
  2. Make a few fields searchable in the google maps widget, like Zoom Level and Marker Height
  3. Open a Comment content
  4. Go to the relationship tab and click 'relate'

You'll see that the fields are not displaying nicely. The widget pre-execute has the input field of the Zoom level next to it, and the Zoom level is has the Marker Height input field next to it which is very confusing. It is even more confusing when you have things like Dates and a Host field.

And I think all of the constant fields can also be removed from the search?

Xander-Steinmann avatar Mar 03 '14 10:03 Xander-Steinmann

Yes for now I would recommend avoiding this relationship but we will get it squared away. Its not a case we have handled yet. Usually people do not relate them

jtesser avatar Mar 03 '14 12:03 jtesser

Fixed, Tested on Nightly Build 2014-03-26

bryanboza avatar Mar 27 '14 17:03 bryanboza