A customer portal user cannot update own custom object records unexpectedly
Last updated 2018-07-31 ·Reference W-2107647 ·Reported By 35 users
No Fix
Summary
A customer portal user cannot update own custom object records when it's updated via APEX class of VF page from their Customer Potal page.
Following error occurred:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Data Not Available
The data you were trying to access could not be found. It may be due to another
user deleting the data or a system error. If you know the data is not deleted but
cannot access it, please look at our support page.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Repro
Created APEX class using "with sharing" keyword and VF page for Customer Potal page in order to
update own custom object records.
Workaround
To use "without sharing"
As of now, the issue could not be reproduced.
If the same issue would occur, please make sure as followings:
1. Ensure that the custom object is available for Customer Success Portal Users in the Custom Entity Definition
2. Check if the user has CRUD on the entity
3. Query using UserRecordAccess if the user has access to the record or not.
Then still the issue exists, please contact Support with the reproducible steps.
Reported By (35)



















Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.