• Hüsna Çuhadaroğlu
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
After Lightning release, our visualforce pages ,in Salesforce1, which is connected to Opportunity, are not closing safely.
The code block is;

       pr = new PageReference('/' + oppId);
            pr.getParameters().put('nooverride', '1');
            pr.getParameters().put('id', oppId);
            return pr.setRedirect(true);   

In this block  return pr.setRedirect(true);    is not useful for returning to opportunity anymore.
We're getting this problem on production environment.

Is there anyone have the same problem? How can we handle with this bug?