Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
15.1.0
-
None
-
Flagged
-
Quasar
-
Team Quasar Sprint 295
-
Small (1-2)
Description
We support property expansion in virtual host configuration, see https://xmdocumentation.bloomreach.com/library/enterprise/installation-and-configuration/configure-virtual-hosts-in-an-environment.html
When property expansion is combined with prefixes or postfixes in the node name, this works on the delivery part, but not when saving channel properties in the Experience Manager.
Example
- System property ${brc.environmentname}=dev
- Host configuration: /hst:hst/hst:hosts/dev/cloud/bloomreach/example/www-${brc.environmentname}
- Delivery at www-dev.example.bloomreach.cloud works
Saving channel properties in the Experience Manager leads to
[org.hippoecm.hst.pagecomposer.jaxrs.services.RootResource.saveChannel():204] Failed to saveChannel channel org.hippoecm.hst.configuration.channel.ChannelException: Mount not found: /hst:hst/hst:hosts/dev/cloud/bloomreach/example/www-dev/hst:root at org.hippoecm.hst.platform.configuration.channel.ChannelManagerImpl.mountNotFoundException(ChannelManagerImpl.java:694) ~[hst-platform-15.1.0.jar:15.1.0] at org.hippoecm.hst.platform.configuration.channel.ChannelManagerImpl.updateChannel(ChannelManagerImpl.java:631) ~[hst-platform-15.1.0.jar:15.1.0]
Analysis
Method org.hippoecm.hst.platform.configuration.channel.ChannelManagerImpl#findSubstitutedNodeNames only supports matching on full node names.
Attachments
Issue Links
- is backported by
-
CMS-15307 [Backport to 14.7.x]Make Host configuration with property expansion work with prefixes/postfixes
- Closed