Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3408

HippoMirror returns wrong HippoHandle child

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: 2.28.11
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Similar issues:

      Description

      Here's my use case. I have a bean linked to another bean. When I'm fetching the linked bean, I use getLinkedBean(MY_PROPERTY, MyBean.class), which fetches an HippoMirror which points to a hippo:handle.
      There, it retrieves the child with the same name (HippoMirror.class:72) which in my case is a preview node and not the live one. Meaning that on the site, there are data that are not published yet.

      HippoMirror should be context-dependant, as stated here, and return live node from the hippo:handle when it is itself in a live node.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              A. G. A. G. (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: