Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13318

SPA Integration Demo Essentials feature broken (ConstraintViolationException)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Duplicate
    • 14.1.0
    • 14.1.1, 14.2.0, 100.4.0
    • None
    • None
    • brXM 14.1.0
      Maven 3.6.3
      Java 1.8.0_161
      MacOS 10.14.6

    Description

      Follow the steps for setting up a local project ('Create Bloomreach Experience Manager Project') at https://documentation.bloomreach.com/14/library/concepts/spa-integration/demo-projects.html

      After adding the SPA Integration Demo feature, rebuild and restart, following exception is thrown:

      [INFO] [talledLocalContainer] 28.04.2020 14:34:23 ERROR http-nio-8080-exec-5 [SpaDemoInstruction.execute:75] Error setting up Page Model API
      [INFO] [talledLocalContainer] javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {http://www.hippoecm.org/hst/nt/2.1}allowedorigins
      [INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef(EffectiveNodeType.java:782) ~[?:?]
      

      The application does start up, Essentials shows another rebuild cycle is needed, which does not throw any further exceptions.

      When up and running, some configuration appears to be missing, like hst:pagemodelapi = resourceapi and CORS headers on root mount and possibly some URL rewriter rules (not sure).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nvankampenhout Niels van Kampenhout
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: