Preview Pending Changes In Content Presenter is Not Showing the New Content Which is Waiting For Approval (Content in Workflow) (Doc ID 2019018.1)

Last updated on NOVEMBER 08, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.6 and later
Information in this document applies to any platform.

Symptoms

In Content Presenter task flow, when in contribution mode (ctrl-shift-C), there are 2 options displayed if the content is in workflow:

 "Preview Pending Changes" and "View Published version"


When ""Preview Pending Changes"  is selected,  the Content Presenter is still displaying the released version/current version.  
The pending version which the approvers should see so they can see and approve it is not displayed.


Steps To Reproduce:

Test case with Site Studio Region

Pre-requisites:
Need to have Region and elements created using Site Studio  and Content Presenter Template uploaded  to Portal.
   Ref. Note 1567198.1 : No Data Returned in Content Presenter Using Node.Propertymap After Changing Site Studio Region.

  1. Login as weblogic
  2. Create a Portal:    
    Use template : Document Exchange
    Name:  CPPortal2   
    Security: Private
  3. View Portal.
  4. Got to Documents Tab.
  5. View - "Containing Folder Info..."
  6. File -  "Workflow Settings".
  7. Select WCSingleApprover  workflow  and add user:   testuser1
  8. CPPortal - Manage Members : Add testuser1 as moderator.
  9. Create a blank page "cppage2" :
    Add Content Presenter task flow.
    Edit the content presenter task flow ( left edit icon)
    Create Web Content:
            - Select PLAINREGION
            - New Contributor data file
            - Title: CDF2
            - Security group WebCenterspaces
            - content ID: CDF2
            - folder:   /WebCenterSpaces-Root/CPPortal2/
            - Next
            - Edit content item now
            - finish
            - enter some data  , save&close
  10. Select the content : cdf2
    Select Template Tab: singleitempresenter1templatw.
    Save  Task flow.
    Save Page.
  11. View Porta.
  12. Press   CTRL-SHIFT-C
    Notice the content is null (released version).

    This is the problem:
    Click on "Preview pending changes"  .... The version in workflow is not displayed.    the current released version is still displayed. (null)   



Test case without site studio

  1. Login as weblogic
  2. Go to a Portal:  
    Use template : Document Exchange: 
    Name:  CPPortal1   
    Security: Private
  3. View Portal.
  4. Go to "Documents" tab.
  5. View - "Containing Folder Info..."
  6. File -  "Workflow Settings".
  7. Select WCSingleApprover  workflow  and add user:   testuser1
  8. Upload a  text file.  This will go into workflow.
  9. CPPortal - Manage Members : Add testuser1 as moderator.
  10. Login as user testuser1 and approve the content.
  11. a. Login as weblogic.
    b. Create a blank page "cppage" .
    c. Add Content Presenter task flow.
    d. Select the text content above.
    e. Save and view page.
  12. Login as Weblogic and "upload new version"  of the text file. (this will go into workflow).
  13. Go back to the page  "cppage1"    and go into contribution mode CTRL-SHIFT-C.
  14. Click on "Preview pending changes"  .... The version in workflow is not displayed.    the current released version is still displayed.



This  issue is not related to site studio region
The issue also occurs in plain text files with Content Presenter


Changes

 WebCenter 11.1.1.8.6 Bundle Patch was applied

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms