Uploaded image for project: '[Archived] Aikau'
  1. [Archived] Aikau
  2. AKU-991

NodePreviewService should check node for nodeRef

    Details

    • Type: Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.71
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Sprint 71

      Description

      On developing a page for RM I discovered that when using an alfresco/renderers/Thumbnail configured to use the alfresco/services/NodePreviewService that the service does not check the "node" attribute in the "checkNodeMetadata" function for a nodeRef.

      It's fine for the payload to be checked for the nodeRef, but as a fallback it would be useful to also check the node object in the payload, for example...

      var nodeRef = payload.nodeRef;
      if (!nodeRef && payload.node))
      {
        nodeRef = payload.node.nodeRef;
      }
      

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                ddraper David Draper [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel