Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1096

Fix inconsistent rendering of override of a slot content in Chrome

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.18
    • Fix Version/s: 2.4.20, 3.0.0
    • Component/s: Slots
    • Release Notes Summary:
      Overriding a slot content has a consistent behavior in Chrome.
    • Tags:
    • Backlog priority:
      1,001
    • Browser:
    • Sprint:
      nxGang Sprint 11.1.21, nxGang Sprint 11.1.22
    • Story Points:
      3

      Description

      Overriding the delete button (override of an existing slot content) does not render with Chrome.

      How to reproduce:

      • in Studio Designer, add the following HTML in the *-custom-bundle.html file:
        <nuxeo-slot-content name="deleteDocumentAction" slot="DOCUMENT_ACTIONS" order="15" priority="100">
          <template>
            <nuxeo-filter document="[[document]]" user="[[user]]">
              <template>
                <nuxeo-delete-document-button document="[[document]]" hard></nuxeo-delete-document-button>
              </template>
            </nuxeo-filter>
          </template>
        </nuxeo-slot-content>
        
      • deploy (make sure to restart the Nuxeo instance in order to avoid any hot reload misbehavior interference)
      • log in the Web UI
      • navigate to a workspace

      Expected result: the delete button with the trash with cross icon (i.e. the override is loaded) is rendered properly
      Actual result: the delete button with the default icon is rendered i.e. the override is not applied.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour, 30 minutes
                  1d 1h 30m