You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "HotWax Media OFBiz Team (JIRA)" <ji...@apache.org> on 2014/08/16 13:31:18 UTC

[jira] [Updated] (OFBIZ-5455) images not stored in SystemProperty location

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

HotWax Media OFBiz Team updated OFBIZ-5455:
-------------------------------------------

    Attachment: OFBIZ-5455.patch

This issue persists in ofbiz1307 , hence it  should be resolved using this patch.
   
Steps to test:
 1. Prepare and load SystemProperty entity data for 'image.server.path'  like :
  <SystemProperty description="image upload server path" systemPropertyId="image.server.path" systemPropertyValue="${sys:getProperty('ofbiz.home')}/framework/images/webapp/images/tenant1" systemResourceId="catalog"/>
>
<SystemProperty description="Image url prefix" systemPropertyId="image.url.prefix" systemPropertyValue="/images/tenant1" systemResourceId="catalog"/>

2. Login to catalog(https://localhost:8443/catalog/control/FindProduct) and go to 'content' screen of any product.

3. Upload product's main and additional images.

Expected Result: Uploaded images must be saved and rendered from specified location.

> images not stored in SystemProperty location
> --------------------------------------------
>
>                 Key: OFBIZ-5455
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5455
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content, product
>         Environment: Multi Server, Multi Tenant
>            Reporter: Pierre Smits
>         Attachments: OFBIZ-5455.patch
>
>
> In a multi server multi tenant setup we have defined a shared data location for storage of images etc.
> We have set this location in table SystemProperty as an override to the default location in catalog properties
> Our definition is:
> <SystemProperty createdStamp="2014-01-03 11:30:01.892" createdTxStamp="2014-01-03 11:30:01.892" description="Default path of product images" lastUpdatedStamp="2014-01-03 11:30:01.892" lastUpdatedTxStamp="2014-01-03 11:30:01.892" systemPropertyId="image.server.path" systemPropertyValue="/test-data/tenant1/images/products" systemResourceId="catalog"/>
> However, this setting is not used when uploading an additional image in catalog of the tenant. In stead the default location (as in catalog.properties) is used.



--
This message was sent by Atlassian JIRA
(v6.2#6252)