function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dmsx2oddmsx2od 

Possible VF & page layout editor bug - please try to reproduce

All- I may have found a bug in the "inline visualforce in page layouts" feature.  Please read what I did and try to reproduce the error.  Thank you.

 

  1. Make VF page with the following code: 

    <apex:page standardController="Account">
    <h1>Congratulations</h1>
    </apex:page>

  2. Put it in an Account page layout
  3. Change the VF standardController to "Contact" - DO NOT remove it from the page layout first
  4. View an Account - note that the inline VF page displays correctly
  5. Edit the Account page layout - I did it from the Setup menu and from the "Edit Layout" link
  6. Note that the layout editor hangs with a yellow "Loading..." status
  7. Change the VF standardController back to "Account"
  8. Verify that the page layout editor works properly

Though this is something that no smart admin would do (please don't ask how I found this), we should account for any usage of the tool.

Can others reproduce this behavior? 

 

Thanks,

David

TehNrdTehNrd
I've come across this as well.