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

yannong huang commented on OFBIZ-12735:
---------------------------------------

Welcome. What DBMS is most used or tested with ofbiz? 

I actually encountered another issue with MySQL when doing "loadAll": the most 
visible deficiency is that the Payment table was not created when doing 
"loadAll" (without error messages), which obviously resulted in consequential 
effects and failed the loadAll process. A quick fix for me was to manually 
create the Payment table and rerun "loadAll".

On 1/10/23, 6:54 AM, "Jacques Le Roux (Jira)" <[email protected] 
<mailto:[email protected]>> wrote:




[ 
https://issues.apache.org/jira/browse/OFBIZ-12735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17656663#comment-17656663
 
<https://issues.apache.org/jira/browse/OFBIZ-12735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=17656663#comment-17656663>
 ] 


Jacques Le Roux commented on OFBIZ-12735:
-----------------------------------------


Thanks for your efforts and explanations,


That sounds good to me now. I'll try with Postgres before pushing.








--
This message was sent by Atlassian Jira
(v8.20.10#820010)


> Accounting Invoice Overview - PDF failed
> ----------------------------------------
>
>                 Key: OFBIZ-12735
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12735
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: 22.01.01
>         Environment: jdk 11.07
> macOS
>            Reporter: yannong huang
>            Assignee: Jacques Le Roux
>            Priority: Major
>         Attachments: Screenshot 2023-01-08 at 10.31.30 AM.png, stacktrace.rtf
>
>
> When clicking “PDF” button in the invoice view, it failed with 
> “java.lang.StackOverflowError” (see stack trace below).
> A quick fix:  
> in def getCustomScreenTemplate(String entityTypeName, String fieldTypeValue), 
> template/DocTypeTemplate.groovy,  
> Change: 
> parentTypeValue = 
> from(entityTypeName).where().cache().queryFirst().parentTypeId 
> To: 
> String parentTypeValue = from(entityTypeName).where("invoiceTypeId", 
> fieldTypeValue).cache().queryFirst().parentTypeId



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to