coldbox create app template doesn't work with a servlet context other than /

Description

These commands start a site that doesn't correctly load static assets:

The base href doesn't account for the servlet context path. I'm not sure if this issue is with our app template or if the ColdBox event.getHTMLBaseURL() should be taking the context path into account.

In order to make it work, I have to update the default layout in the template to something like this:

We need to either fix the app templates or fix ColdBox as necessary so this works out of the box. Note, there is an unrelated issue with the default CommandBox rewrites that I'm following up with Denny on. That's why i turned them off in the test above,

Status

Assignee

Luis Majano

Reporter

Brad Wood

Labels

None

Components

Fix versions

Priority

Major
Configure