[jira] Updated: (OFBIZ-4212) Old image file name format causes an error scaling updated an original image

2011-03-13 Thread Eric de Maulde (JIRA)

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

Eric de Maulde updated OFBIZ-4212:
--

Attachment: ScaleImage.patch

Here is a new patch to scale main image product content and additional image 
product content, works with both image filename format (catalog.properties) to 
upload an image.

Old image file system :

image.filename.format=${location}/${type}/${id}
image.filename.additionalviewsize.format=${location}/${id}/${viewtype}/${sizetype}

New image file system

image.filename.format=${location}/${id}/${type}
image.filename.additionalviewsize.format=${location}/${id}/${viewtype}/${sizetype}

I always have an error when I upgrade an additional image.

Right url is now only into the DataResource entity !!!

 Old image file name format causes an error scaling updated an original image
 

 Key: OFBIZ-4212
 URL: https://issues.apache.org/jira/browse/OFBIZ-4212
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: SVN trunk
 Environment: trunk 1080218
Reporter: Eric de Maulde
Priority: Minor
 Fix For: SVN trunk

 Attachments: ScaleImage.patch, ScaleImage.patch

   Original Estimate: 0h
  Remaining Estimate: 0h

 To scale image into Product Content with the old catalog.properties 
 configuration, FilenameToUse is wrong with the new issue about Image 
 Management https://issues.apache.org/jira/browse/OFBIZ-4194
 image.filename.format=${location}/${type}/${id}
 image.filename.additionalviewsize.format=${location}/${viewtype}/${sizetype}/${id}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] Updated: (OFBIZ-4212) Old image file name format causes an error scaling updated an original image

2011-03-12 Thread Eric de Maulde (JIRA)

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

Eric de Maulde updated OFBIZ-4212:
--

Attachment: ScaleImage.patch

This patch corrects error with the old configuration for FilenameToUse from 
catalog.properties, order by type/viewtype and not by productId

 Old image file name format causes an error scaling updated an original image
 

 Key: OFBIZ-4212
 URL: https://issues.apache.org/jira/browse/OFBIZ-4212
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: SVN trunk
 Environment: trunk 1080218
Reporter: Eric de Maulde
Priority: Blocker
 Fix For: SVN trunk

 Attachments: ScaleImage.patch

   Original Estimate: 0h
  Remaining Estimate: 0h

 To scale image into Product Content with the old catalog.properties 
 configuration, FilenameToUse is wrong with the new issue about Image 
 Management https://issues.apache.org/jira/browse/OFBIZ-4194
 image.filename.format=${location}/${type}/${id}
 image.filename.additionalviewsize.format=${location}/${viewtype}/${sizetype}/${id}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] Updated: (OFBIZ-4212) Old image file name format causes an error scaling updated an original image

2011-03-12 Thread Hans Bakker (JIRA)

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

Hans Bakker updated OFBIZ-4212:
---

Priority: Minor  (was: Blocker)

please provide  more info. I hope you undestand that the resizing of 
imagemanagement and related functions only work on the new structure.

On the other hand if you have a patch to solve this problem it is much 
appreciated!

Regards,
Hans

 Old image file name format causes an error scaling updated an original image
 

 Key: OFBIZ-4212
 URL: https://issues.apache.org/jira/browse/OFBIZ-4212
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: SVN trunk
 Environment: trunk 1080218
Reporter: Eric de Maulde
Priority: Minor
 Fix For: SVN trunk

 Attachments: ScaleImage.patch

   Original Estimate: 0h
  Remaining Estimate: 0h

 To scale image into Product Content with the old catalog.properties 
 configuration, FilenameToUse is wrong with the new issue about Image 
 Management https://issues.apache.org/jira/browse/OFBIZ-4194
 image.filename.format=${location}/${type}/${id}
 image.filename.additionalviewsize.format=${location}/${viewtype}/${sizetype}/${id}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira