Uploaded image for project: 'Periscope'
  1. Periscope
  2. MGNLPER-180

RootPath is not used for findBar results

XMLWordPrintable

    • Yes
    • AuthX 23
    • 2

      Steps to reproduce

      1. Create an app and set a rootPath in the browser subapp datasource:
      subApps:
        browser:
          datasource:
           rootPath: /myRootPath/
      
      1. Add an Item within the root path
      2. Close the app
      3. Search for the item in the find-bar
      4. Click on the result
      5. The right app is open, but the result is not preselected

       

      Expected results

      The url contains the full path of the node, to highlight/select it correctly:
      http://localhost:8080/dev/.magnolia/admincentral#app:myApp:browser;/myRootPath/myItem:edit

      Actual results

      The url does not contain the rootPath, and therefore the node path is not absolute and the item is not preselected/highlighted:
      http://localhost:8080/dev/.magnolia/admincentral#app:myApp:browser;myItem:edit

      Workaround

      Development notes

        Acceptance criteria

          1. bookshelf.zip
            119 kB
          2. custom-nodetype.xml
            0.4 kB
          3. persons-app.yaml
            7 kB
          4. persons-app-1.yaml
            8 kB
          5. course-app.zip
            8 kB

              miguel.martinez Miguel Martinez
              atuor Antonio Tuor
              AuthorX
              Votes:
              7 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1d 0.5h
                    1d 0.5h