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

There should not need to setup SystemProperty data on each tenant for specifying path to store tenant images.

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

Details

    • Bug Crush Event - 21/2/2015

    Description

      Currently user need to setup SystemProperty data for each tenant to specify path of product images to be store in separate directory . There should not need to create this data for each tenant instead system should add directory with tenantId in path of images.
      For doing this there should common property value set in catalog.properties like as:
      image.server.path=${sys:getProperty('ofbiz.home')}/hot-deploy/hwmapps/webapp/resources/${tenantId}

      image.url.prefix=/images/${tenantId}

      Only need to pass tenantId in context with FlexibleStringExpander.expandString() method.

      This change is extension of efforts done under task OFBIZ-5455

      Attachments

        Issue Links

        Activity

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

          People

            toashishvijay Ashish Vijaywargiya
            arunpati Arun Patidar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Agile

                Completed Sprint:
                Bug Crush Event - 21/2/2015 ended 26/Feb/15
                View on Board

                Slack

                  Issue deployment