[ https://issues.apache.org/jira/browse/OFBIZ-5455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099605#comment-14099605 ] HotWax Media OFBiz Team edited comment on OFBIZ-5455 at 8/16/14 11:43 AM: -------------------------------------------------------------------------- This issue persists in ofbiz1307, it should be resolved using this patch. Steps to test: 1. Apply Patch 2. Prepare and load SystemProperty entity data for 'image.server.path' e.g. <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"/> 3. Build & start ofbiz server 4. Login to catalog(https://localhost:8443/catalog/control/FindProduct) and go to 'content' screen of any product. 5. Upload product's main and additional images. Expected Result: Uploaded images must be saved and rendered from specified location. was (Author: hwmofbizus): This issue persists in ofbiz1307, it should be resolved using this patch. Steps to test: 1. Prepare and load SystemProperty entity data for 'image.server.path' e.g. <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) |
Free forum by Nabble | Edit this page |