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
pinoytechiepinoytechie 

Winter 14: VF Page <apex:detail> issue with Approval History related list

Good day.

 

One of our sandbox is now in Winter 14.

 

In pages using <apex:detail>, I noticed tha the Approval History related list is missing the step name, including the corresponding "Overall Status"  as shown below:

 

Screenshot #1) Summer 13: <apex:detail>, Standard Page Layout | Winter 14: Standard Page Layout

 

Screenshot #2) Winter 14: <apex:detail>

 

 

 Steps to reproduce:

The Object

  1. Create a simple custom object (let's call the object "Test Request", with API name being Test_Request__c )
  2. In the page layout of Test Request, include/add the "Approval History" related list
  3. Create a simple approval process for "Test Object"
  4. Create a new Test Request and save it
  5. Submit the newly created Test Request for approval
  6. Open the newly submitted Test Request
  7. Noticed that the "Approval History" section looks normal. This is fine.

The <apex:detail> Problem

  1. Create a new VF page called "Test_Request_View_Page", with the following code:
    <apex:page standardController="Test_Request__c">
           <apex:detail />
    </apex:page>

     

  2. Override the view button of Test_Request__c with the newly created page
  3. Open the Test Request we created in step#4 above
  4. In Summer 13, you would notice that the Approval History section is ok (see screenshot #1). But in Winter 14, it doesn't show the steps name and corresponding overall status (screenshot #2)

 

Is there any workaround to this ?

 

Please note that I have a much more complex code than the provided code, so reverting back to using just a standard page is not a workaround.

 

Thanks

Vinita_SFDCVinita_SFDC

Hi,

 

This has been reported to salesforce.com support, i will update you if a workaound is provided.

Vinita_SFDCVinita_SFDC

Hi,

 

I am not able replicate this anymore, seems this has been fixed. Please test it once.

pinoytechiepinoytechie

Still present in our sandbox.

 

I've even tried changing API level/number of the page

Vinita_SFDCVinita_SFDC

Your sandobx org is on which instance? I have tested on CS13.

pinoytechiepinoytechie

It's in CS9.


Thanks

Vinita_SFDCVinita_SFDC

Hi,

 

As the winter'14 release is in progress at sandbox on cs9 instance, i think this should be fixed on this instances as well, though i am not sure when this will be fixed on cs9.