You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by curro <fr...@avarmar.com> on 2010/02/26 10:55:03 UTC
Is This a Error to open a Jira?
When I start my portal or a binary distribution of JetSpeed 2.2.0, in the
logs, appears a trace that reads as follows:
2010-02-25 18:54:14,033 INFO [velocity] Null reference [template
'decorations/layout/jetspeed/header.vm', line 49, column 17] :
${layoutFragment.id} cannot be resolved.
This not produce effects, but is ugly.
This line is in header.vm.
#defineLayoutObjects()
.
.
<div id="layout-${layoutFragment.id}" class="#PageBaseCSSClass()" >
This variable (layoutFragment) is not initialized, and I thought must be:
<div id="layout-${rootFragment.id}" class="#PageBaseCSSClass()" >
Because rootFragment is the variable initialized in the jetspeed_macros.vm
#macro (defineLayoutObjects)
#set($preferedLocale = $JS2RequestContext.locale)
#set($rootFragment = $jetspeed.currentFragment)
#set($site =
$request.getAttribute("org.apache.jetspeed.portalsite.PortalSiteRequestConte
xt"))
#set($theme = $request.getAttribute("org.apache.jetspeed.theme"))
#set($layoutDecoration = $theme.getDecoration($rootFragment))
#end
Could be this?
Regards
Francisco Rosado
Re: Is This a Error to open a Jira?
Posted by Ate Douma <at...@douma.nu>.
Hi curro,
Yes, this is a (minor) bug.
Possibly already known or fixed, however these kind of errors are valid to report in JIRA, even if it is minor like this one.
So, go ahead and open a issue for it.
Thanks,
Ate
On 02/26/2010 10:55 AM, curro wrote:
> When I start my portal or a binary distribution of JetSpeed 2.2.0, in the
> logs, appears a trace that reads as follows:
>
> 2010-02-25 18:54:14,033 INFO [velocity] Null reference [template
> 'decorations/layout/jetspeed/header.vm', line 49, column 17] :
> ${layoutFragment.id} cannot be resolved.
>
>
>
> This not produce effects, but is ugly.
>
>
>
> This line is in header.vm.
>
> #defineLayoutObjects()
>
> .
>
> .
>
> <div id="layout-${layoutFragment.id}" class="#PageBaseCSSClass()">
>
>
>
> This variable (layoutFragment) is not initialized, and I thought must be:
>
> <div id="layout-${rootFragment.id}" class="#PageBaseCSSClass()">
>
>
>
> Because rootFragment is the variable initialized in the jetspeed_macros.vm
>
> #macro (defineLayoutObjects)
>
> #set($preferedLocale = $JS2RequestContext.locale)
>
> #set($rootFragment = $jetspeed.currentFragment)
>
> #set($site =
> $request.getAttribute("org.apache.jetspeed.portalsite.PortalSiteRequestConte
> xt"))
>
> #set($theme = $request.getAttribute("org.apache.jetspeed.theme"))
>
> #set($layoutDecoration = $theme.getDecoration($rootFragment))
>
> #end
>
>
>
> Could be this?
>
>
>
> Regards
>
> Francisco Rosado
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org