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: [hidden email] 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"/> > > + > <UserLoginSecurityGroup groupId="HUMANRES_EMPLOYEE" userLoginId="demoemployee" fromDate="2001-01-01 12:00:00.0"/ |
Administrator
|
Thanks Deepak,
Indeed, looks like a wrong C/P (DemoEmployee does not exist as login, it's demoemployee for Party DemoEmployee) Fixed at r826978 BTW, tt's weird I do not find this error when doint a run-install, anyway it's obviously a kind of typo. Jacques From: "Deepak Dixit" <[hidden email]> > 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: > > [hidden email] 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"/ > |
Free forum by Nabble | Edit this page |