[ https://issues.apache.org/jira/browse/OFBIZ-13115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux updated OFBIZ-13115: ------------------------------------ Component/s: framework/widget Fix Version/s: Upcoming Branch Affects Version/s: Upcoming Branch > Ofbiz performance issue with ThemeFactory > ----------------------------------------- > > Key: OFBIZ-13115 > URL: https://issues.apache.org/jira/browse/OFBIZ-13115 > Project: OFBiz > Issue Type: Improvement > Components: framework/widget > Affects Versions: Upcoming Branch > Reporter: Ingo Wolfmayr > Priority: Major > Fix For: Upcoming Branch > > Attachments: themefactory.patch > > > If there are many products with images (images stored in the plugin or > theme), the ThemeFactory blocks the frontend until all files are processed. > The problem is initiated in the following lines of code in ThemeFactory.java: > List<File> xmlThemes = FileUtil.findXmlFiles(themeFolderPath, null, "theme", > "widget-theme.xsd"); > List<File> xmlPluginThemes = FileUtil.findXmlFiles(pluginsFolderPath, > null, "theme", "widget-theme.xsd"); > I think the search path should be restricted to the "widget" folder of the > respective plugins/themes, as the theme.xml file should be located there. -- This message was sent by Atlassian Jira (v8.20.10#820010)