Bug 112301
Summary: | server can't find my content type xsl | ||
---|---|---|---|
Product: | [Retired] Red Hat Web Application Framework | Reporter: | Steve Etherington <steve.etherington> |
Component: | dev environment | Assignee: | ccm-bugs-list |
Status: | CLOSED EOL | QA Contact: | Jon Orris <jorris> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | nightly | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-27 16:49:12 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Steve Etherington
2003-12-17 14:04:51 UTC
What's happening is that your content type is deployed to its own webapp, whereas (for backwards compat) the other types are deployed in the 'ROOT' webapp. This means you need to add in the '<projname>' as the first component of the path to the XSL. So, what path are you specifying for the XSL filepath in the your initializer ? I suspect you've got /web/static/content-types/<package tree>/<mycontent>.xsl If so, then try changing it to <projname>/web/static/content-types/<package tree>/<mycontent>.xsl I've actually got /static/content-types/<package tree>/<mycontent>.xsl I'll try your suggestion out. Is this documented in the content-type tutorial and elsewhere? It works if I use /<projname>/web/static/content-types/<package tree>/<mycontent>.xsl with the leading forward slash. |