core icon indicating copy to clipboard operation
core copied to clipboard

On Content, Relationship Panel not showing complete list of Relationships

Open manuel-miranda opened this issue 9 years ago • 4 comments

Reported via Suport: https://my.dotcms.com/tickets/detail.dot?id=cd9d0a04-3102-4058-81d1-649379bdb595

On Content, Relationship Panel not showing complete list of Relationships

Expected Behavior

When checking the Content > Relationship Tab the the panel should how all the relations for current selected content, no matter how many, allowing scroll down if list is big enough.

Current Behavior

When checking the Content > Relationship Tab the the panel only shows 4 relations even the 4th is cut off

Possible Solution

N/A

Known Workarounds

N/A

Steps to Reproduce (for bugs)

  1. Login to dotCMS Backend.
  2. Go to Content.
  3. Select Type Blogs.
  4. Select any Content of type Comment.
  5. Click on Relationships tab.
  6. Check no all relationships are showed up, even 4th one is cut off.
image

Context

N/A

Your Environment

  • dotCMS version used: dotCMS 4.1.1.
  • Browser Name and version: Firefox, Opera & Chrome
  • Operating System and version: N/A
  • Application Server and version: Tomcat 8.0.18
  • Java Brand and version: OpenJDK 8
  • Database and version: Postgres 9
  • Application module (if apply):

manuel-miranda avatar Jul 26 '17 14:07 manuel-miranda

Additional information from the client:

The content edit screen has gone blank when editing content of type Event on our Prod environment. Inspection shows that the element “iframe.detailFrame body.dotcms” has had its “style” attribute set to “/ visibility:hidden; // background:white; /“. This seems to be causing Dojo's parser to throw an error. Furthermore, the styles are not successfully commented out as it seems was intended, so the main contents of the detail frame are completely hidden.

Attached screenshot is a side-by-side comparison demonstrating that when the styles I previously mentioned are disabled the content's fields are once again visible. However, due to the Dojo parser error, the Dojo tabs are not rendered so all Relationships, Push History, etc. are visible at the same time.

content-edit-body-hidden

gabbydotCMS avatar Jul 27 '17 17:07 gabbydotCMS

Related to: https://github.com/dotCMS/core/issues/12104 and https://github.com/dotCMS/core/issues/11782

joseorsini avatar Jul 31 '17 18:07 joseorsini

Dojo errors were gone after:

  • Patches for #12104 and #11782 were placed on customer.
  • SQL Queries were run in order to fix system fields with the same velocity var name.

Issue here is that there's no scrollbar available when a list of relationships is long.

screen shot 2017-08-01 at 1 32 38 pm

joseorsini avatar Aug 01 '17 19:08 joseorsini

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

joseorsini avatar Aug 07 '17 19:08 joseorsini