You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Tom (Jira)" <ji...@apache.org> on 2022/03/31 13:56:00 UTC

[jira] [Created] (OFBIZ-12593) NullPointerException in plugin 'projectMgr' when listing TimeSheets

Tom created OFBIZ-12593:
---------------------------

             Summary: NullPointerException in plugin 'projectMgr' when listing TimeSheets
                 Key: OFBIZ-12593
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12593
             Project: OFBiz
          Issue Type: Bug
          Components: projectmgr
    Affects Versions: 22.01.01
            Reporter: Tom


As already communicated via the [mailing list|https://lists.apache.org/thread/2vo7h5tfkgr494qqjsffmyrc3g759bt7], I am opening a ticket as requested for the following reason:

Since version 22.01, but also on the trunk, there is a problem when listing timesheets using the form "ListFindTimeSheet" in [https://github.com/apache/ofbiz-plugins/blob/trunk/projectmgr/widget/forms/TimeSheetForms.xml] <[https://github.com/apache/ofbiz-plugins/blob/trunk/projectmgr/widget/forms/TimeSheetForms.xml]>.

When calling a screen that embeds this form, a NullPointerException is displayed in the table in the "set to complete" column if the row to be displayed is a TimeSheet that has already been completed.

If I completely stupidly replace "?complete:&quot;&quot;}" with "?complete:&quot;exists&quot;}" in row 134 and 148, the error disappears and a hyperlink button with the text "exists" appears. I suspect that there has been a change that causes the empty string "&quot;&quot;" to cause a NullPointerException at some point.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)