Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
15.2.0
-
None
-
None
-
Pulsar
-
Pulsar 301 - Cycle 8-2
Description
Reproduction Path:
- Go to alternative channel
- Enable External preview in channel settings
- Save the settings
- Accessing the preview shows a broken (not styled) content
The details:
When a page is requested, for instance, http://127.0.0.1:9080/site/alternate/events, the webfiles are loaded by a url without the 'alternate' subpath something like
http://127.0.0.1:9080/site/webfiles/1670339331315/css/bootstrap.css http://127.0.0.1:9080/site/webfiles/1670339331315/css/main.css
instead of
http://127.0.0.1:9080/site/alternate/webfiles/1670339331315/css/bootstrap.css?preview-token=8eb76a9f-8713-4f65-966d-28bf0ede3d1a http://127.0.0.1:9080/site/alternate/webfiles/1670339331315/css/main.css?preview-token=8eb76a9f-8713-4f65-966d-28bf0ede3d1a
Because of that the preview urls of css files return 404(notfound).
http://127.0.0.1:9080/site/webfiles/1670339331315/css/bootstrap.css?preview-token=8eb76a9f-8713-4f65-966d-28bf0ede3d1a http://127.0.0.1:9080/site/webfiles/1670339331315/css/main.css?preview-token=8eb76a9f-8713-4f65-966d-28bf0ede3d1a