[
https://issues.apache.org/jira/browse/OFBIZ-11665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17103717#comment-17103717 ]
ASF subversion and git services commented on OFBIZ-11665:
---------------------------------------------------------
Commit 6b04468f4559a31d9bc9d043060fac8f7b5a5cdd in ofbiz-framework's branch refs/heads/release17.12 from Pawan Verma
[
https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6b04468 ]
Fixed: Theme files loading taking longer time
(OFBIZ-11665)
Thanks: Pierre and Jacques for the review.
> 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: Release Branch 18.12, Release Branch 17.12, Trunk
> Reporter: Pawan Verma
> Assignee: Pawan Verma
> Priority: Major
> Attachments: OFBIZ-11665.patch
>
>
> 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)