You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org> on 2015/02/21 10:20:11 UTC

[jira] [Assigned] (OFBIZ-6088) There should not need to setup SystemProperty data on each tenant for specifying path to store tenant images.

     [ https://issues.apache.org/jira/browse/OFBIZ-6088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya reassigned OFBIZ-6088:
------------------------------------------

    Assignee: Ashish Vijaywargiya

> There should not need to setup SystemProperty data on each tenant for specifying path to store tenant images.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6088
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6088
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk, 14.12.01, 13.07.01
>            Reporter: Arun Patidar
>            Assignee: Ashish Vijaywargiya
>            Priority: Minor
>         Attachments: OFBIZ-6088.patch, OFBIZ-6088_1307.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)