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

Bootstrap of /hippo:configuration/hippo:translations/hippo:templates/en seems to fail

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Won't Fix
    • None
    • 5.0.0
    • None
    • None

    Description

      The following yaml bootstrap in HST cause the repository bootstrap to fail:

      definitions:
        config:
          /hippo:configuration/hippo:translations/hippo:templates/en:
            new-subsite: new subsite
      

      The most important message is:

      Caused by: java.lang.IllegalStateException: hippo-cms/hippo-site-toolkit/hst-addon-repository [hippo-configuration/site-templates-translations.yaml] contains definition rooted at unreachable node '/hippo:configuration/hippo:translations/hippo:templates/en'. Closest ancestor is at '/hippo:configuration/hippo:translations'.
      

      However, the hcm-module.yaml is as follows:

      group: hippo-cms
      project:
          name: hippo-site-toolkit
          after: hippo-repository
      module: hst-addon-repository
      

      and the hippo-repository config should bootstrap

      definitions:
        config:
          /hippo:configuration/hippo:translations:
            jcr:primaryType: hipposys:resourcebundles
            /hippo:templates:
              jcr:primaryType: hipposys:resourcebundles
              /en:
                jcr:primaryType: hipposys:resourcebundle
      

      which is part of the file translations-configuration.yaml which is part of the repo module 'hippo-repository-config' which in turn is on the test classpath of the HST.

      Is this a bug or do I miss something?

      Attachments

        Activity

          People

            Unassigned Unassigned
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: