Customer icons for subpages do not render when retrieving them from local resource or external on Global Page module

XMLWordPrintable

    • Severity 3 - Minor
    • Pollinator tests
    • S

      Issue Summary:

      Using the Global Page module, when setting custom icons for subpages using a local resource or external as seen on Custom UI the icon loads successfully for the main page but does not render for sub-pages, even when using the same resource and icon as in the main page.

      Steps to Reproduce

       

       

      modules:
        jira:globalPage:
          - key: globalpagesample-hello-world-global-page
            resource: main
            resolver:
              function: resolver
            render: native
            title: globalPageSample
            icon: https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/beacon.svg
            pages:
              - title: page example
                route: "/page-example-1"
                icon: resource:icons;beacon.svg
              - title: page example 2
                route: "/page-example-2"
                icon: https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/beacon.svg
              - title: page example no icon
                route: "/page-example-3"
        function:
          - key: resolver
            handler: index.handler
      resources:
        - key: main
          path: src/frontend/index.jsx
        - key: icons
          path: customui/public/icons
      permissions:
        external:
          images:
            - "https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/beacon.svg"
      app:
        runtime:
          name: nodejs22.x
          memoryMB: 256
          architecture: arm64
        id: xxxxxxxxxxxxxxxxx
      

       

       

      Expected Results

      All icons should render, for sub-pages, whether from a local resource or from an external URL

      Actual Results

      • The sub-page icons, coming from a local resource or external source, DO NOT render.
      • Main page icon renders fine

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Emmanuel Bellezza
              Votes:
              10 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: