You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pierre Smits (JIRA)" <ji...@apache.org> on 2014/08/20 12:23:26 UTC

[jira] [Reopened] (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 ]

Pierre Smits reopened OFBIZ-5455:
---------------------------------


When setting the path of the image upload server path to following settings

{code:xml}
<SystemProperty description="image upload server path" systemPropertyId="image.server.path" systemPropertyValue="$
{sys:getProperty('ofbiz.home')}/runtime/tenants//tenant1/images" systemResourceId="catalog"/>
>
{code:xml}

and uploading an image, the upload succeeds. 

However, the subsequent setting of the image url prefix to 
{code:xml}
<SystemProperty description="Image url prefix" systemPropertyId="image.url.prefix" systemPropertyValue="/images/tenant1" systemResourceId="catalog"/>
{code:xml}

generates an error when accessing the path in the product content screen.

> 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
>            Assignee: Ashish Vijaywargiya
>             Fix For: 13.07.01, Upcoming Branch
>
>         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)