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

Wrong documentation for Pathbuilding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.1.6
    • Labels:
      None
    • Sprint:
      Sprint 5

      Description

      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());

       

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Checklists

                    Bug DoR
                    DoD