You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pawan Verma (Jira)" <ji...@apache.org> on 2020/05/07 14:03:00 UTC

[jira] [Created] (OFBIZ-11665) Theme files loading taking longer time

Pawan Verma created OFBIZ-11665:
-----------------------------------

             Summary: Theme files loading taking longer time
                 Key: OFBIZ-11665
                 URL: https://issues.apache.org/jira/browse/OFBIZ-11665
             Project: OFBiz
          Issue Type: Bug
          Components: themes
    Affects Versions: Trunk, Release Branch 18.12, Release Branch 17.12
            Reporter: Pawan Verma


Discussion Link: [https://markmail.org/message/nbmgrbzdwiqagzr2]

 

OFBiz searches all the Theme.xml files under ofbiz.home with 'themes' as a partial path written under ThemeFactory.pullModelThemesFromXmlToCache(). The problem occurs mainly when the runtime data is huge in the system, and it increases the time since the current code also scans the Theme.xml under runtime directory.

A solution comes to mind which is to include 'themes' directory in the basePath for the searching of Theme.xml file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)