Hello Jacques,
Due to this commit data not loaded .Following error occured:
Key (user_login_id)=(DemoEmployee) is not present in table "user_login".))
Thanks
-----
Deepak Dixit
comment inline:
jler...@apache.org wrote:
Author: jleroux
Date: Sat Oct 17 15:05:32 2009
New Revision: 826266
URL: http://svn.apache.org/viewvc?rev=826266&view=rev
Log:
merged by hand from Simranjeet Singh's HR_Training_improvements.patch in "
Enhancements in Trainings under HR module"
(https://issues.apache.org/jira/browse/OFBIZ-2531) - OFBIZ-2531
Please see this issue for more, it's enough complicated as is...
In one word this patch was waiting comments for near a month and
https://issues.apache.org/jira/browse/OFBIZ-3046 decided me to act!
Modified:
ofbiz/trunk/applications/humanres/data/HumanResDemoData.xml
ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml
ofbiz/trunk/applications/humanres/widget/CommonScreens.xml
ofbiz/trunk/applications/humanres/widget/EmployeeScreens.xml
ofbiz/trunk/applications/humanres/widget/Menus.xml
ofbiz/trunk/applications/humanres/widget/PersonTrainingScreens.xml
ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml
ofbiz/trunk/applications/party/widget/partymgr/CommonScreens.xml
Modified: ofbiz/trunk/applications/humanres/data/HumanResDemoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/data/HumanResDemoData.xml?rev=826266&r1=826265&r2=826266&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/data/HumanResDemoData.xml (original)
+++ ofbiz/trunk/applications/humanres/data/HumanResDemoData.xml Sat Oct 17
15:05:32 2009
@@ -34,6 +34,10 @@
<UserLoginSecurityGroup groupId="HUMANRES_APPROVER" userLoginId="demoapprover"
fromDate="2001-01-01 12:00:00.0"/>
<UserLogin userLoginId="demoemployee" currentPassword="{SHA}47ca69ebb4bdc9ae0adec130880165d2cc05db1a" requirePasswordChange="N" partyId="DemoEmployee"/>
+ <SecurityPermission description="Employee can check the status of his requests and trainings
assigned to him with this permission." permissionId="EMPLOYEE_VIEW"/>
+ <SecurityGroupPermission groupId="HUMANRES_EMPLOYEE"
permissionId="EMPLOYEE_VIEW"/>
+ <UserLoginSecurityGroup groupId="HUMANRES_EMPLOYEE" userLoginId="DemoEmployee"
fromDate="2001-01-01 12:00:00.0"/>
This entry generates error, I think this is mistakenly added.
+
<UserLoginSecurityGroup groupId="HUMANRES_EMPLOYEE" userLoginId="demoemployee"
fromDate="2001-01-01 12:00:00.0"/