• Alexey Panteleev
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 5
    Replies

Has anyone encountered the issue where APEX code run by a VF Remoting call executes in a wrong user context?

One of our users is experiencing this in Chrome browser where he (an admin) had multiple user logins (different SFDC users). A visual force page using remoting calls UserInfo for a wrong user that is not currently logged in but one that has logged once before.

 

Thank you.

Hi all,

 

I have a problem making a call out to another system receiving the following error during debug:

 

common.apex.runtime.impl.ExecutionException: Received fatal alert: bad_record_mac"|0x56b08894

 

In my code I create an http request using the following endpoint:

 

req.setEndpoint('https://mdm.tuitravel-ad.com/mdmclients/secure/');

 

When I send the same request to the same endpoint using a Firefox SOA Cliente the request is accepeted.

We have already try this code before to a http endpoint but now, working in production, we need to make the request to an https endpoint and is when the issue appeared.

 

Could somebody help please?

 

If any other information is needed please let me know.

 

Regards,

 

Antonio

Hi,

I want to Fetch the PARENT Event Record whenever I view the Related Group Event of Another User, but I could not do so:
I'm using this Query:

Code:
Event e = [Select Id From Event Where Subject =: e.Subject And SystemModstamp =: e.SystemModstamp And CreatedDate =: e.CreatedDate And IsChild =: true LIMIT 1];

 
This QUery is always returning an Exception.

Is there any way around.

What I'm trying to do is:
Consider an Event with 3 Attendees, and I want to Read the ID value of Parent Event when I View the Event with Login User as Additional Attendee, by Additional Attendee I mean the User wich is Not Logged In, and is Not the Owner of the Event.

Now, this situation arises because, Salesforce Creates n-Number of Events when n-Number of Attendees are added to Event. And the Activities are just saved up as ONE activity with IsChild value - false, and Other Activities having IsChild = true. But when I View the Activity with IsChild = true then I NEED A WAY to read the EventID value of Above Grouped Event where IsChild = false.

I hope I'm not confusing you all. Please let me know if I'm.
  • January 02, 2009
  • Like
  • 0