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,
userLogin=[GenericEntity:UserLogin][createdStamp,2008-02-08
20:03:00.281(java.sql.Timestamp)][createdTxStamp,2008-02-08
20:02:58.609(java.sql.Timestamp)][currentPassword,xxx(java.lang.String)][lastUpdatedStamp,2008-02-08
20:03:00.281(java.sql.Timestamp)][lastUpdatedTxStamp,2008-02-08
20:02:58.609(java.sql.Timestamp)][partyId,10035(java.lang.String)][userLoginId,test(java.lang.String)],
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

Mime
View raw message