Uploaded image for project: 'DAM Focal'
  1. DAM Focal
  2. RESPDAM-17

Wrong documentation for Pathbuilding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.1.6
    • 1.1.4
    • None
    • None

      Documentation states the Asset-Path is supposed to be used. https://documentation.magnolia-cms.com/display/SERVICES/Focal+Points#FocalPoints-BuildtheimageURL

       

      But the module itsself uses node-id, hardcoded to jcr: provider

      magnolia-dam-images-responsive-1.1.4-sources.jar!/info/magnolia/dam/imaging/responsive/ui/imaging/parameters/AbstractResponsiveParameterProviderFactory.java:85

      // Gets the node
      Node node = SessionUtil.getNodeByIdentifier(requestParams.getWorkspace(),  requestParams.getAssetId()); 

      Resolved in

      magnolia-dam-images-responsive-1.1.4-sources.jar!/info/magnolia/dam/imaging/responsive/ui/imaging/parameters/ResponsiveImageRequest.java:82

       // Asset id
      this.assetId = StringUtils.substring(element(paths, index++), JCR_PREFIX.length());

       

        Acceptance criteria

              amanzoni Adrien Manzoni
              wrydzewski_dev5310 Wojciech Rydzewski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD