Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.4-core
-
None
-
None
Description
To reproduce, make sure the /adf/styles directory does not already exist in the target directory. Delete it if it does.
Set output-mode to portlet in trinidad-config.xml
In CoreRenderingContext code set the requested skin id and the requested skin stylesheet id to something to get this code path to run.
(or you can actually run this as a portlet)
Run a demo.
You will get this error:
WARNING: Could not locate the Trinidad styles directory.Please be sure that
the Trinidad installable resources are installed.
I've already looked into this and it is because the /adf/styles directory does not exist yet when this code path is run. It gets created in mkdirs in FileSystemStyleCache's constructor which gets called from SkinStyleProvider.