You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ravi Lodhi (JIRA)" <ji...@apache.org> on 2016/06/01 14:54:59 UTC

[jira] [Updated] (OFBIZ-7156) Free marker template error on Edit Custom Time Periods for Child Periods

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

Ravi Lodhi updated OFBIZ-7156:
------------------------------
    Attachment: OFBIZ-7156_trunk.patch

Cause:
CustomTimePeriod entity have fromDate and thruDate fields of type ava.sql.Timestamp, TIMESTAMP. In the problem code using getDate() throwing exception that java.lang.ClassCastException: java.sql.Timestamp cannot be cast to java.sql.Date.

Replaced getDate() with getTimestamp() to fix this and uploaded patch for review.

> Free marker template error on Edit Custom Time Periods for Child Periods
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-7156
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7156
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Ravi Lodhi
>            Assignee: Ravi Lodhi
>            Priority: Minor
>         Attachments: OFBIZ-7156_trunk.patch
>
>
> Step to regenerate:
> 1) Go to Accounting -> Global GL Settings -> Edit Custom Time Periods.
> 2) Free marker error under Child Periods section.



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