I created a JIRA with a patch for this: https://issues.apache.org/jira/browse/OFBIZ-2201
Thank you, -Bruno 2009/2/22 Bruno Busco <bruno.bu...@gmail.com>: > Hi David, > the issue is this: > > In the ecommerce application a specific (to the ecommerce application) > VisualThemeSet is defined: > In EcommerceTypeData.xml: > <VisualThemeSet visualThemeSetId="ECOMMERCE" > description="ECommerce Visual Themes"/> > > The multiflex theme is defined as: > <VisualTheme visualThemeId="MULTIFLEX" > visualThemeSetId="ECOMMERCE" description="Alternative VisualTheme for > Ecommerce"/> > > When doing "ant run-install" for the first time the > visualThemeSetId="ECOMMERCE" is not found when the VisualTheme entity > gets created. > > This is the reason I think themes should be loaded AFTER the > applications because, actually, they apply ON applications. > > I have run a local test with this component-load.xml and it works well. > <component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader.xsd"> > <load-components parent-directory="framework"/> > <load-components parent-directory="applications"/> > <load-components parent-directory="specialpurpose"/> > <load-components parent-directory="themes"/> > <load-components parent-directory="hot-deploy"/> > </component-loader> > > Thank you, > Bruno > > > 2009/2/22 David E Jones <david.jo...@hotwaxmedia.com>: >> >> It sounds like there is some sort of conflict between the theme and what is >> in ecommerce. >> >> We may very well want to have the themes load after everything else... but >> could you describe what is being overridden, ie what is conflicting? Is that >> something that can be avoided? >> >> -David >> >> >> On Feb 21, 2009, at 11:14 AM, Bruno Busco wrote: >> >>> For the moment, in order to have the multiflex theme available it is >>> necessary to reload the seeds using webtools: >>> https://localhost:8443/webtools/control/EntityImportReaders >>> >>> -Bruno >>> >>> 2009/2/21 Bruno Busco <bruno.bu...@gmail.com>: >>>> >>>> I have seen that the themes are loaded after the framework component >>>> and before the applications. >>>> This cause an error when the newly added multiflex theme tries to >>>> define its seeds because the VisualThemeSet it belongs to is defined >>>> by the ecommerce application. >>>> >>>> I think we should have the theme loaded after the application. >>>> >>>> -Bruno >>>> >> >> >