Thanks Gabriele,
Actually it was not the real solution, but I fixed at r928477
Jacques
From: "Franzini, Gabriele [Nervianoms]" <
[hidden email]>
Hello,
We are currently evaluating ofbiz for possible adoption. In the HR
application, when I try to find training approvals, and there is some to
display, the row in Search Results displays only up to column Thru Date;
there is no Approver id, and the error message is:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://common/widget/CommonScreens.xml#FindScreenDecorator]:
java.lang.NullPointerException (null).
The current Demo server "Management Apps" is also affected.
I have very limited understanding of ofbiz, but it is so well organized
that I might have located the problem myself, in file
applications/humanres/widget/forms/PersonTrainingForms.xml:
By analogy with similar code, I tried to change lines 119-120 FROM:
<field name="approverId" field-name="partyId"
widget-style="buttontext">
<display-entity entity-name="PartyNameView"
description="${firstName} ${middleName} ${lastName} ${groupName}">
...
TO:
<field name="approverId" field-name="approverId"
widget-style="buttontext">
<display-entity entity-name="PartyNameView"
description="${firstName} ${lastName}" key-field-name="partyId">
...
And lines 187-188 in the same way.
Hope it helps,
Gabriele Franzini
ICT Applications Manager
Nerviano Medical Sciences SRL
PO Box 11 - Viale Pasteur 10
20014 Nerviano Italy
tel +39 0331581477
fax +39 0331581456