Patch attached to OFBIZ-2203 fixes this.

-Bruno

2009/2/22 Bruno Busco <[email protected]>:
> I think this is what happened:
>
> When accessing a webapp that does not defines the WebSiteId parameter
> in its web.xml file the VisualThemeLookup allows to choose between ALL
> themes.
> At the moment the webtools application does not defines the WebSiteId
> and so it is possible to select an ecommerce VisualTheme for the
> backoffice resulting in what you have seen.
>
> I entered the demo bakoffice with flexadmin and it was OK then deleted
> the admin VisualTheme UserPreferences that was set on multiflex (a
> theme for ecommerce).
>
> Now it works correctly.
>
> I think we should have that the VisualThemeLookup will default in an
> empty list if no WebSiteId is defined.
>
> -Bruno
>
> 2009/2/22 BJ Freeman <[email protected]>:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> https://demo.hotwaxmedia.com/webtools/control/main
>> something about ecommerceNoproductstore
>> EASY FLEXIBLE ROBUST
>>
>> Expression catalogQuickaddUse is undefined on line 99, column 16 in
>> component://multiflex/includes/header.ftl. The problematic instruction:
>> - ---------- ==> if catalogQuickaddUse [on line 99, column 11 in
>> component://multiflex/includes/header.ftl] ---------- Java backtrace for
>> programmers: ---------- freemarker.core.InvalidReferenceException:
>> Expression catalogQuickaddUse is undefined on line 99, column 16 in
>> component://multiflex/includes/header.ftl. at
>> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at
>> freemarker.core.Expression.isTrue(Expression.java:145) at
>> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at
>> freemarker.core.Environment.visit(Environment.java:209) at
>> freemarker.core.MixedContent.accept(MixedContent.java:92) at
>> freemarker.core.Environment.visit(Environment.java:209) at
>> freemarker.core.Environment.process(Environment.java:189) at
>> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:205)
>> at
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFJobLvrP3NbaWWqE4RAt3nAJ9IMYFdBybubAwIfk+R9Z6JeCmFgwCggI/S
>> UL/xHhFssDrnPiKUQjd0/yg=
>> =pLL6
>> -----END PGP SIGNATURE-----
>>
>

Reply via email to