Uploaded image for project: 'Bloomreach Forge'
  1. Bloomreach Forge
  2. FORGE-320

Page Mgr Support: wrong use of isAssignableFrom

    XMLWordPrintable

Details

    • Flagged

    Description

      HstDocumentParamsUpdater for 12 used a check

      if (obj instanceof HippoDocument)

      before retrieving available translations.

      On 13, there's an isAssignableFrom on dynamic clazz HippoDocument, but in the wrong order:

      if (obj.getClass().isAssignableFrom(clazz)) {

      should be

      if (clazz.isAssignableFrom(obj.getClass())) {

      Attachments

        Activity

          People

            jhoffman Jeroen Hoffman
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: