+ Start a Discussion
PaulATPimptastiPaulATPimptasti 

Customer Portal. Changing Case Owner Changes Case Contact

Hello,

 

I've discovered something very strange with Force.com Sites and the Customer Portal.  If you change the owner of a Case to a Customer Portal User this then updates the Case's Contact to the Contact associated with the Customer Portal User.

 

This change happens deep in the background and by passes all of the validation rules and triggers that we have in place to prevent Case Contact's from changing, and Cases being logged with Contacts associated to an Account other than the one the Case is associated with.  However, when you change the Case Owner back to an internal user, the Validation and Triggers are fired and then it recgonises that the Case's Contact is not assoicated with the same Account as the Case and an error is produced.

 

My question is:  Is this correct behaviour or am I missing something obvious with Sharing Rules or such like?

 

Any tips would be greatly appreciated.

 

Kind regards,

 

Paul.

pratap pendampratap pendam
Hi Paul,
I am into the same situation, did find any workaround to prevent this ?
Santhosh Gaddam 3Santhosh Gaddam 3
Hi Paul,
I am getting Same Issue if you issue resolved can you please explain here.
Merūnas JokubauskasMerūnas Jokubauskas
Hi Paul, 
In same trouble, has any one found some solution?