You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/10/20 10:59:41 UTC

svn commit: r1400393 - in /ofbiz/trunk/applications/humanres/widget/forms: EmplLeaveForms.xml RecruitmentForms.xml

Author: jleroux
Date: Sat Oct 20 08:59:40 2012
New Revision: 1400393

URL: http://svn.apache.org/viewvc?rev=1400393&view=rev
Log:
A patch from Tom Burns "Error is comming in HR's recruitment  Tab  " https://issues.apache.org/jira/browse/OFBIZ-5056

I am getting an error(null Pointer Exception) in HR module when i am testing some functionallities.
I followed some steps in my testing.
Step 1:-Cleck on Recruitment tab and also click on "New job Requisition".Fill the data and create the record.
Steps 2:-click on sub tap "Internal Job Posting" and then click on "New internal Job Posting" Button on find Internal job posting page. Create the record from require data
Step3:-Again click "Internal Job Posting" sub tab. and find the created Internal Job Posting record.
You find operastion give the Error Massage
:ERROR MESSAGE:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#FindScreenDecorator: java.lang.NullPointerException (null)
You also check Job Interview and Approve sub tab
I have sent this mail to jacopo Le but Issue is not resolve till date
Please solve this issuse. I Am waiting for ur responce APAS
Thanks
Dhiraj Gupta


Modified:
    ofbiz/trunk/applications/humanres/widget/forms/EmplLeaveForms.xml
    ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml

Modified: ofbiz/trunk/applications/humanres/widget/forms/EmplLeaveForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/EmplLeaveForms.xml?rev=1400393&r1=1400392&r2=1400393&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/forms/EmplLeaveForms.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/forms/EmplLeaveForms.xml Sat Oct 20 08:59:40 2012
@@ -71,7 +71,7 @@
         <field name="approverPartyId">
             <display-entity entity-name="PartyNameView" description="${firstName} ${lastName}" key-field-name="partyId">
                 <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${approverPartyId}" link-style="buttontext">
-                    <parameter param-name="approverPartyId" from-field="approverPartyId"/>
+                    <parameter param-name="partyId" from-field="approverPartyId"/>
                 </sub-hyperlink>
             </display-entity>
         </field>
@@ -151,7 +151,7 @@
         <field name="approverPartyId" field-name="approverPartyId">
             <display-entity entity-name="PartyNameView" description="${firstName} ${lastName}" key-field-name="partyId">
                 <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${approverPartyId}" link-style="buttontext">
-                    <parameter param-name="approverPartyId" from-field="approverPartyId"/>
+                    <parameter param-name="partyId" from-field="approverPartyId"/>
                 </sub-hyperlink>
             </display-entity>
         </field>

Modified: ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml?rev=1400393&r1=1400392&r2=1400393&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml Sat Oct 20 08:59:40 2012
@@ -178,21 +178,24 @@ under the License.
             <hyperlink target="EditInternalJobPosting" description="${applicationId}">
                 <parameter param-name="applicationId"/>
             </hyperlink>
-        </field>
-        <field name="applyingPartyId" field-name="partyId">
-            <display-entity entity-name="PartyNameView" description="${firstName} ${lastName}">
-                <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${applyingPartyId}" link-style="buttontext">
-                    <parameter param-name="partyId" from-field="applyingPartyId"/>
-                </sub-hyperlink>
-            </display-entity>
-        </field>
-        <field name="approverPartyId" field-name="partyId">
-            <display-entity entity-name="PartyNameView" description="${firstName} ${lastName}">
+        </field>        
+
+        <field name="approverPartyId">
+            <display-entity entity-name="PartyNameView" description="${firstName} ${lastName}" key-field-name="partyId">
                 <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${approverPartyId}" link-style="buttontext">
                     <parameter param-name="partyId" from-field="approverPartyId"/>
                 </sub-hyperlink>
             </display-entity>
+        </field>      
+
+        <field name="applyingPartyId">
+            <display-entity entity-name="PartyNameView" description="${firstName} ${lastName}" key-field-name="partyId">
+                <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${applyingPartyId}" link-style="buttontext">
+                    <parameter param-name="partyId" from-field="applyingPartyId"/>
+                </sub-hyperlink>
+            </display-entity>
         </field>
+
         <field name="statusId" title="${uiLabelMap.HumanResIJPStatus}"><display/></field>
         <field name="jobRequisitionId" widget-style="buttontext">
             <hyperlink target="EditJobRequisition" description="${jobRequisitionId}">