[ 
https://issues.apache.org/jira/browse/OFBIZ-11426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17055801#comment-17055801
 ] 

Pierre Smits commented on OFBIZ-11426:
--------------------------------------

While testing the patch visavis OFBIZ-11432, it seems the issue got worse. 
Testing it against a change to the entity definition of the DateDimension 
(changing the PK from string to integer), I got following error when doing a 
search/find on https://0.0.0.0:8443/webtools/control/entity/find/DateDimension:

{code:java}
2020-03-10 11:24:41,357 |jsse-nio-8443-exec-4 |EntityListIterator            
|W| Warning: auto-closed EntityListIterator because of exception: 
org.apache.ofbiz.entity.GenericDataSourceException: SQL Exception while getting 
value : dimensionId [DIMENSION_ID] (1) (Invalid character string format for 
type int.)
2020-03-10 11:24:41,358 |jsse-nio-8443-exec-4 |ScriptUtil                    
|W| Error running script at location 
[component://webtools/groovyScripts/entity/FindGeneric.groovy]: 
org.apache.ofbiz.base.util.GeneralRuntimeException: Error creating GenericValue 
(SQL Exception while getting value : dimensionId [DIMENSION_ID] (1) (Invalid 
character string format for type int.))
org.apache.ofbiz.base.util.GeneralRuntimeException: Error creating GenericValue 
(SQL Exception while getting value : dimensionId [DIMENSION_ID] (1) (Invalid 
character string format for type int.)
{code}


> Unable to view entity row record in webtools if PK contains timestamp field 
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-11426
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11426
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/webtools
>    Affects Versions: Trunk
>            Reporter: Pawan Verma
>            Assignee: Nicolas Malin
>            Priority: Major
>         Attachments: Error Screen.png, OFBIZ-11426.patch
>
>
> Unable to view entity row record in webtools if PK contains timestamp field.
> Steps to regenerate:
>  # Go to 
> [https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/PartyRelationship]
>  # Try to open any record via view link
>  # IllegalArgumentException screen would be shown.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to