You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Suresh Yellamaraju <sy...@gmail.com> on 2010/03/09 06:24:22 UTC

Set profile default error

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.

Re: Set profile default error

Posted by Suresh Yellamaraju <sy...@gmail.com>.
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 <sy...@gmail.com>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.
>