Uploaded image for project: '[Read Only] - Hippo Essentials'
  1. [Read Only] - Hippo Essentials
  2. ESSENTIALS-1209

Regression: blogpost author names are not set

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 4.4.0-1
    • 13.0.0
    • None
    • None
    • 2
    • Tiger Sprint 194

    Description

      When updating the name of a Blogpost author in an Author document, the updated name is not shown on the site. Also when creating a new Blogpost (in whichever editor) the name of the linked Author document is not shown.

      The names used on the site come from a myhippoproject:authornames property on the node, but that is not set.

      It seems that the org.onehippo.cms7.essentials.components.cms.handlers.AuthorFieldHandler#handle method should take care of that. It uses the configuration at /hippo:configuration/hippo:modules/essentials-eventbus-listener/hippo:moduleconfig. The projectNamespace property always contains the value "essentials" which is hardly ever valid. But even when I update that value to "myhippoproject" (for a default archetype project) and restart the server, the expected changes do not occur.

      The configuration in the repository should be bootstrapped by the esssentials feature, not by essentials-component. The namespace value should be configured in a xml file with the 

      {{namespace}}

      property placeholder. I think this is a regression of the move of the component code to the separate essentials-components project.

       

      Also the code should be checked to fix the functionality.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bleunis Bert Leunis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: