Project

Contents

Issue #00005410

WGA.App().getHomepageURL() ignores browserinterface flag
Bug

WGA.App().getHomepageURL() always returns the URL of the published version of the homepage. If you are working in contentmanager you would like to get the URL of a draft version instead.

The reason is that the DefaultURLBuilder ignores the browserinterface flag in its homepageurl() method. This now has been fixed.

In addition we also ensured that a context expression like "name:home" now returns a context to a draft version (if it exists and we are in a content manager session).