[jira] [Updated] (OFBIZ-6943) Problem uploading data resource other than image in DB

2016-03-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-6943:
---
Fix Version/s: (was: Upcoming Branch)

> Problem uploading data resource other than image in DB
> --
>
> Key: OFBIZ-6943
> URL: https://issues.apache.org/jira/browse/OFBIZ-6943
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Trunk
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
> Fix For: 14.12.01, 15.12.01
>
>
> When in content.properties, content.upload.always.local.file is set to false, 
> uploading video, audio or other than image data is not possible.
> {quote}Failure in create operation for entity [OtherDataResource]: 
> org.ofbiz.entity.GenericEntityException: Error while inserting: 
> [GenericEntity:OtherDataResource][createdStamp,2016-03-19 
> 09:56:21.464(java.sql.Timestamp)][createdTxStamp,2016-03-19 
> 09:56:21.095(java.sql.Timestamp)][dataResourceContent,java.nio.HeapByteBuffer[pos=0
>  lim=1599972 
> cap=1599972](java.nio.HeapByteBuffer)][dataResourceId,1(java.lang.String)][lastUpdatedStamp,2016-03-19
>  09:56:21.464(java.sql.Timestamp)][lastUpdatedTxStamp,2016-03-19 
> 09:56:21.095(java.sql.Timestamp)] (SQL Exception while setting value on field 
> [dataResourceContent] of entity OtherDataResource:  
> (java.io.NotSerializableException: java.nio.HeapByteBuffer)). Rolling back 
> transaction.{quote}



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


[jira] [Updated] (OFBIZ-6943) Problem uploading data resource other than image in DB

2016-03-19 Thread Gil Portenseigne (JIRA)

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

Gil Portenseigne updated OFBIZ-6943:

Description: 
When in content.properties, content.upload.always.local.file is set to false, 
uploading video, audio or other than image data is not possible.

{quote}Failure in create operation for entity [OtherDataResource]: 
org.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:OtherDataResource][createdStamp,2016-03-19 
09:56:21.464(java.sql.Timestamp)][createdTxStamp,2016-03-19 
09:56:21.095(java.sql.Timestamp)][dataResourceContent,java.nio.HeapByteBuffer[pos=0
 lim=1599972 
cap=1599972](java.nio.HeapByteBuffer)][dataResourceId,1(java.lang.String)][lastUpdatedStamp,2016-03-19
 09:56:21.464(java.sql.Timestamp)][lastUpdatedTxStamp,2016-03-19 
09:56:21.095(java.sql.Timestamp)] (SQL Exception while setting value on field 
[dataResourceContent] of entity OtherDataResource:  
(java.io.NotSerializableException: java.nio.HeapByteBuffer)). Rolling back 
transaction.{quote}

  was:
When in content.properties, content.upload.always.local.file is set to false, 
uploading video, audio or other than image data is not possible.

{quote}|E| Failure in create operation for entity [OtherDataResource]: 
org.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:OtherDataResource][createdStamp,2016-03-19 
09:56:21.464(java.sql.Timestamp)][createdTxStamp,2016-03-19 
09:56:21.095(java.sql.Timestamp)][dataResourceContent,java.nio.HeapByteBuffer[pos=0
 lim=1599972 
cap=1599972](java.nio.HeapByteBuffer)][dataResourceId,1(java.lang.String)][lastUpdatedStamp,2016-03-19
 09:56:21.464(java.sql.Timestamp)][lastUpdatedTxStamp,2016-03-19 
09:56:21.095(java.sql.Timestamp)] (SQL Exception while setting value on field 
[dataResourceContent] of entity OtherDataResource:  
(java.io.NotSerializableException: java.nio.HeapByteBuffer)). Rolling back 
transaction.{quote}


> Problem uploading data resource other than image in DB
> --
>
> Key: OFBIZ-6943
> URL: https://issues.apache.org/jira/browse/OFBIZ-6943
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Trunk
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
>
> When in content.properties, content.upload.always.local.file is set to false, 
> uploading video, audio or other than image data is not possible.
> {quote}Failure in create operation for entity [OtherDataResource]: 
> org.ofbiz.entity.GenericEntityException: Error while inserting: 
> [GenericEntity:OtherDataResource][createdStamp,2016-03-19 
> 09:56:21.464(java.sql.Timestamp)][createdTxStamp,2016-03-19 
> 09:56:21.095(java.sql.Timestamp)][dataResourceContent,java.nio.HeapByteBuffer[pos=0
>  lim=1599972 
> cap=1599972](java.nio.HeapByteBuffer)][dataResourceId,1(java.lang.String)][lastUpdatedStamp,2016-03-19
>  09:56:21.464(java.sql.Timestamp)][lastUpdatedTxStamp,2016-03-19 
> 09:56:21.095(java.sql.Timestamp)] (SQL Exception while setting value on field 
> [dataResourceContent] of entity OtherDataResource:  
> (java.io.NotSerializableException: java.nio.HeapByteBuffer)). Rolling back 
> transaction.{quote}



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


[jira] [Updated] (OFBIZ-6943) Problem uploading data resource other than image in DB

2016-03-19 Thread Gil Portenseigne (JIRA)

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

Gil Portenseigne updated OFBIZ-6943:

Description: 
When in content.properties, content.upload.always.local.file is set to false, 
uploading video, audio or other than image data is not possible.

{quote}|E| Failure in create operation for entity [OtherDataResource]: 
org.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:OtherDataResource][createdStamp,2016-03-19 
09:56:21.464(java.sql.Timestamp)][createdTxStamp,2016-03-19 
09:56:21.095(java.sql.Timestamp)][dataResourceContent,java.nio.HeapByteBuffer[pos=0
 lim=1599972 
cap=1599972](java.nio.HeapByteBuffer)][dataResourceId,1(java.lang.String)][lastUpdatedStamp,2016-03-19
 09:56:21.464(java.sql.Timestamp)][lastUpdatedTxStamp,2016-03-19 
09:56:21.095(java.sql.Timestamp)] (SQL Exception while setting value on field 
[dataResourceContent] of entity OtherDataResource:  
(java.io.NotSerializableException: java.nio.HeapByteBuffer)). Rolling back 
transaction.{quote}

  was:
When in content.properties, content.upload.always.local.file is set to false, 
uploading video, audio or other than image data is not possible.

{code}|E| Failure in create operation for entity [OtherDataResource]: 
org.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:OtherDataResource][createdStamp,2016-03-19 
09:56:21.464(java.sql.Timestamp)][createdTxStamp,2016-03-19 
09:56:21.095(java.sql.Timestamp)][dataResourceContent,java.nio.HeapByteBuffer[pos=0
 lim=1599972 
cap=1599972](java.nio.HeapByteBuffer)][dataResourceId,1(java.lang.String)][lastUpdatedStamp,2016-03-19
 09:56:21.464(java.sql.Timestamp)][lastUpdatedTxStamp,2016-03-19 
09:56:21.095(java.sql.Timestamp)] (SQL Exception while setting value on field 
[dataResourceContent] of entity OtherDataResource:  
(java.io.NotSerializableException: java.nio.HeapByteBuffer)). Rolling back 
transaction.{code}


> Problem uploading data resource other than image in DB
> --
>
> Key: OFBIZ-6943
> URL: https://issues.apache.org/jira/browse/OFBIZ-6943
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Trunk
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
>
> When in content.properties, content.upload.always.local.file is set to false, 
> uploading video, audio or other than image data is not possible.
> {quote}|E| Failure in create operation for entity [OtherDataResource]: 
> org.ofbiz.entity.GenericEntityException: Error while inserting: 
> [GenericEntity:OtherDataResource][createdStamp,2016-03-19 
> 09:56:21.464(java.sql.Timestamp)][createdTxStamp,2016-03-19 
> 09:56:21.095(java.sql.Timestamp)][dataResourceContent,java.nio.HeapByteBuffer[pos=0
>  lim=1599972 
> cap=1599972](java.nio.HeapByteBuffer)][dataResourceId,1(java.lang.String)][lastUpdatedStamp,2016-03-19
>  09:56:21.464(java.sql.Timestamp)][lastUpdatedTxStamp,2016-03-19 
> 09:56:21.095(java.sql.Timestamp)] (SQL Exception while setting value on field 
> [dataResourceContent] of entity OtherDataResource:  
> (java.io.NotSerializableException: java.nio.HeapByteBuffer)). Rolling back 
> transaction.{quote}



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