• Ralph Yozzo
  • NEWBIE
  • 10 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
Update: This issue magically went away many days after we reported it and now we are asking to understand this fundamental bug involving the inabilility of customer portal users to "update" and "delete" data in order to avoid it in the future.  Salesforce support told us that only premier customers and partners can get a direct answer to this question and therefore we were directed to this support site in hopes of understanding these issues and avoid them in the future.

Previous post from April 28th, 2014:
This is a new issue that appeared with the Spring 2014 Salesforce update.

We have a customer portal user.

They try to update an object that they own and they created.

Yet we see a "Data Not Available" error message.
> 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.



This seems to only affect the customer portal users
Also if we remove "sharing", it works.

But we want to understand why suddenly this stopped working?

The release notes https://help.salesforce.com/help/pdfs/en/salesforce_spring14_release_notes.pdf refers to sharing sets here:
> Previously, a sharing set granted access to any record that has a
> lookup field to an account or contact that matches the user’s account
> or contact. With Spring ’14, you can also determine how access is
> granted using an access mapping in the sharing set, which supports
> indirect lookups from the user and target record to the account or
> contact. You can determine the objects to use in the access mapping,
> and they must both either point to an account or contact.

But we are seeing that even the user that created the record cannot update it.

@isTest(SeeAllData=true)
         private class Test1Class {
         static testMethod void validateTestCrash() {
       
            user u = [select id from user where username = 'cduissue1@issue1.com.issue1'];
            system.debug(u);
            system.runas(u){
                adviser_profile__c adviser_profile = [select id from adviser_profile__c limit 1];
                system.debug('qqq adviser_profile: ' + adviser_profile);
                try {
                  update adviser_profile;
                }catch (Exception e){
                   system.debug('qqq3 validateTestCrash error adviser_profile: ' + adviser_profile);
                }
                system.debug('qqq2 validateTestCrash adviser_profile: ' + adviser_profile);
            }
        }
        }

Even worse, we never see either the Exception debug line NOR the final debug line.

The code simply aborts and even the salesforce log shows nothing but a simple exit, NO MESSAGE AT ALL!!!

SALESFORCE WHAT IS GOING ON???!!!
Update: This issue magically went away many days after we reported it and now we are asking to understand this fundamental bug involving the inabilility of customer portal users to "update" and "delete" data in order to avoid it in the future.  Salesforce support told us that only premier customers and partners can get a direct answer to this question and therefore we were directed to this support site in hopes of understanding these issues and avoid them in the future.

Previous post from April 28th, 2014:
This is a new issue that appeared with the Spring 2014 Salesforce update.

We have a customer portal user.

They try to update an object that they own and they created.

Yet we see a "Data Not Available" error message.
> 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.



This seems to only affect the customer portal users
Also if we remove "sharing", it works.

But we want to understand why suddenly this stopped working?

The release notes https://help.salesforce.com/help/pdfs/en/salesforce_spring14_release_notes.pdf refers to sharing sets here:
> Previously, a sharing set granted access to any record that has a
> lookup field to an account or contact that matches the user’s account
> or contact. With Spring ’14, you can also determine how access is
> granted using an access mapping in the sharing set, which supports
> indirect lookups from the user and target record to the account or
> contact. You can determine the objects to use in the access mapping,
> and they must both either point to an account or contact.

But we are seeing that even the user that created the record cannot update it.

@isTest(SeeAllData=true)
         private class Test1Class {
         static testMethod void validateTestCrash() {
       
            user u = [select id from user where username = 'cduissue1@issue1.com.issue1'];
            system.debug(u);
            system.runas(u){
                adviser_profile__c adviser_profile = [select id from adviser_profile__c limit 1];
                system.debug('qqq adviser_profile: ' + adviser_profile);
                try {
                  update adviser_profile;
                }catch (Exception e){
                   system.debug('qqq3 validateTestCrash error adviser_profile: ' + adviser_profile);
                }
                system.debug('qqq2 validateTestCrash adviser_profile: ' + adviser_profile);
            }
        }
        }

Even worse, we never see either the Exception debug line NOR the final debug line.

The code simply aborts and even the salesforce log shows nothing but a simple exit, NO MESSAGE AT ALL!!!

SALESFORCE WHAT IS GOING ON???!!!

Hello. I'm trying Single Sign-On for Force.com with OpenAM.


1st, I tried SSO with OpenAM for normal user account. It succeeded.

I was looking at http://wiki.developerforce.com/index.php/Single_Sign-On_with_SAML_on_Force.com.


2nd, I'm trying SSO with OpenAM for Customer Portal user, now.

I don't know how to setup the following attributes on OpenAM.


https://na11.salesforce.com/help/doc/en/salesforce_winter10_release_notes.pdf - pp172.

"In the SAML assertion, add the portal_id and organization_id as attributes."

 

Note that I know the values of portal_id and organization_id.

 

Could anyone help me? Thanks.

Hi All,

I installed the objects as a unmanaged package in a org. Subsequently, enabled customer portal for the org. Now, If i need customer portal uCustomer Portal Enable Optionsers to have access to the custom objects, I have manually click every object and click the checkbox option "Available for Customer Portal". If there are more objects in the org, it becomes timeconsuming and a difficult task. Is there a way through Metadata API that we can automate this for all the objects? That would be of great help.

 

 

I was having difficulty with migrating email templates and finally figured out that it was not seeing any templates in folders.

I can move templates from the 'unfilled' 'folder just fine now.

I tried using the 'folder' type and many other variations for 'emailtemplate' with no sucess. There are no examples I can find for the syntax to migrate email templates and folders. Does anyone have a sample here?

Thanks

  • September 18, 2008
  • Like
  • 0