Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11665

Theme files loading taking longer time

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 18.12, Release Branch 17.12, Trunk
    • 17.12.04, 18.12.01
    • themes
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            pawan Pawan Verma
            pawan Pawan Verma
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment