ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Sanchez" <car...@apache.org>
Subject Error creating a new employee
Date Sat, 09 Feb 2008 04:22:23 GMT
If I go to Party/Create new employee I get a "You must be logged in"
error during save

The Following Errors Occurred:

ERROR: Could not complete the Create User
[file:/.../UserEvents.xml#createUser] process [problem invoking the
[createPartyRole] service with the map named [partyRoleContext]
containing [[roleTypeId=EMPLOYEE, partyId=10035,
locale=en_US]]: You must be logged in to complete the [Party role
permission logic] process.]

Looking through the code seems to me that it's setting the current
user to the user set in the create employee form (the
SetCurrentUserLogin method is called), and later is checked if that
user is logged in, and fails

Am I missing something or is this a bug?

Revision is 606868 from trunk

I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

View raw message