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

Load hst-cms-rest.xml and template-composer-rest.xml as Spring addon module

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Top
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Since spring addon module support, it is not needed any more that template-composer-rest.xml and hst-cms-rest.xml are present in META-INF.hst-assembly.overrides. If they are missing, it is really hard to find out why the channel mngr is not working. A more fundamental problem is that the template-composer-rest.xml and hst-cms-rest.xml include SpringComponentManager-rest-jackson.xml. If some bean in SpringComponentManager-rest-jackson.xml is overridden for a content jaxrs feature (for example customJaxrsRestEntityProviders), then most likely the last file that includes SpringComponentManager-rest-jackson.xml will override the settings. Hence, for the template composer (CM) and cms rest modules, we should include their own rest-jackson beans which can be overridden separately

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aschrijvers Ard Schrijvers
              Reporter:
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: