Set profile default error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Set profile default error

Suresh Yellamaraju
Hi

When I try to save the default shipment method in the profile of the
ecommerce app, I get the below error. 9.04 release. I am logged in as the
user of that party. After snooping around I noticed that the party id is
probably not getting passed to this service setPartyProfileDefaults and as a
result is throwing up this error. Something I am missing or is this a known
issue?

Suresh

Security Error: you do not have permission to perform
setPartyProfileDefaults for this party.
Reply | Threaded
Open this post in threaded view
|

Re: Set profile default error

Suresh Yellamaraju
A followup:

I set the following line to make it work from
    profiledefs = delegator.findByPrimaryKey("PartyProfileDefault", [partyId
: partyId, productStoreId : productStoreId]);
to this
    profiledefs = delegator.findByPrimaryKey("PartyProfileDefault", [partyId
: userLogin.partyId, productStoreId : productStoreId]);

Now you should see the value in the entity PartyProfileDefault.

Note that the corresponding radio button is still not enabled. Looking into
this.


On Tue, Mar 9, 2010 at 12:24 AM, Suresh Yellamaraju <[hidden email]>wrote:

> Hi
>
> When I try to save the default shipment method in the profile of the
> ecommerce app, I get the below error. 9.04 release. I am logged in as the
> user of that party. After snooping around I noticed that the party id is
> probably not getting passed to this service setPartyProfileDefaults and as a
> result is throwing up this error. Something I am missing or is this a known
> issue?
>
> Suresh
>
> Security Error: you do not have permission to perform
> setPartyProfileDefaults for this party.
>