Please don't use this as a *real* workaround, since if you change FindLookUp.groovy you will have to change all <set field="entityName" in lookup screens !!!

Jacques

From: "Jacques Le Roux" <[email protected]>
Yes, there is a problem somewhere, if you replace
 <set field="entityName" value="UserLoginAndPartyDetails"/>
by
 <set field="entityName2" value="UserLoginAndPartyDetails"/>
in  <screen name="LookupUserLoginAndPartyDetails">

(and of course in FindLookUp.groovy) you have a workaround. Please open a Jira issue for this, as it's a deeper bug that should be solved
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Thanks

Jacques

From: "Karim Rahimpur" <[email protected]>

Christopher,

For the second problem you mention, there should be a bug waiting to be
resolved ;-)
However, you can type in and add the UserLogin if you know it.

ChristopherJ wrote:
Thanks Karim

I see what you mean by using ChristopherJ instead of 10010(partyID)
it adds the security group correctly to that particular userlogon.
I now understand why the user logon ID is used instead of the party
ID because of multiple userlogons for the same partyID.


OK First Problem solved (user in front of my keyboard)

The second problem is when searching for a userlogon under the security
group of your choice (as illustrated by the second image in my first post).
The same problem occurs on the demo hotwax server.





Karim Rahimpur wrote:

Hi Christopher,

It seems you're mistaking a PartyId for a UserLogin. You have to create
a UserLogin for your Party and use that. E.g. you have a Party whose
PartyId=10010, create a UserLogin for that Party and assign it to the
security group. You can also create several UserLogins for a Party, just
as in the demo, the Party with PartyId admin has several UserLogins:
https://demo.hotwaxmedia.com/partymgr/control/viewprofile?partyId=admin

Regards,
Karim


ChristopherJ wrote:

Hi all

The following error message is displayed when I try to manually add a
user
to a security group.

http://www.nabble.com/file/p21346925/Party%2BSecurity%2BError%2Bman.jpeg

And if I use the search option for users this message comes in to view.

http://www.nabble.com/file/p21346925/Party%2BSecurity%2BError%2Bsearch.jpeg

Cheers

Fedora 10
Svn 732624

------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.4/1880 - Release Date:
07/01/2009 8:49






------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.4/1880 - Release Date: 07/01/2009 8:49





Reply via email to