Content Not Checked Out When Editing SiteStudio Content in Content Presenter Within WebCenter Portal Causing Error: The selected revision is not the most recent revision (Doc ID 2007519.1)

Last updated on AUGUST 16, 2016

Applies to:

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

Symptoms


Content is not checked out when editing in Site Studio Content from Content Presenter within WebCenter Portal.

When a user enters contribution mode and presses Edit within a region, the Site Studio Contributor application displays and the user can edit the data in that region.
When the contributor application is displayed it is expected that the content is "Checked Out" in WebCenter Content but this is not happening.

If two users edit the same content region at the same time, only the user that presses Save first can make the change.
The other user receives an error that the revision is not the latest.

ERROR

Unable to perform the action due to the following reasons:
[+] Unable to save content item 'XXX'. The selected revision is not the most recent revision.

 

Steps To Reproduce:

The issue can be reproduced at will with the following steps:

 

  1. Connect to WebCenter Portal as user1 and edit a Content Presenter.
     
    • Press Ctrl+Shift+C to enter the in-context edit mode.
       
    • Click the Edit icon to open the file in SiteStudio Contributor.
       
    • Do a change in the document but do not save the changes.
       
    • Keep the file open in SiteStudio Contributor.


  2. In a separate browser window connect to WebCenter Portal as user2 and edit the same Content Presenter.
     
    • Press Ctrl+Shift+C to enter the in-context edit mode.
       
    • Click the Edit icon to open the file in SiteStudio Contributor.
       
    • Do a change in the document but do not save the changes.
       
    • Keep the file open in SiteStudio Contributor.
       
       
  3. Connect to WebCenter Content UI.
     
    • Find the content presenter file under the Portal folder.
      For example:
      WebCenterSpaces-Root -> PortalSite_Bug19767746
       
    • Get the document "Content Information" page.
       
    • Note the document status is "Released".
       
       
  4. Get back to WebCenter Portal session opened for user1 and click "Save and Close".
     
     
  5. Get back to WebCenter Portal session opened for user2 and click "Save and Close".
    Here you will get the error:
     
    Unable to perform the action due to the following reasons:
           [+] Unable to save content item 'XXX'.
           The selected revision is not the most recent revision.
     

    A tail of the UCM_server-diagostic.log will show this error:
     
    [2014-10-06T22:00:25.290+00:00] [UCM_server1] [ERROR] [UCM-CS-060003] [oracle.ucm.idccs] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: user2] [ecid: 0051CWpjOL7DoY2_vpO5yX0006xn0000Jn,0:1] [APP: Oracle Universal Content Management - Content Server] [DSID: 0000KZawnr7DoY2_vpO5yX1KCfAA00001N] [URI: /cs/idcplg] Event generated by user 'user2' at host 'fmw11g.vm.oracle.com'.
     
    [2014-10-06T22:00:25.297+00:00] [UCM_server1] [ERROR] [UCM-CS-000001] [oracle.ucm.idccs] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: user2] [ecid: 0051CWpjOL7DoY2_vpO5yX0006xn0000Jn,0:1] [APP: Oracle Universal Content Management - Content Server] [DSID: 0000KZawnr7DoY2_vpO5yX1KCfAA00001N] [URI: /cs/idcplg] general exception[[
           intradoc.common.ServiceException: !csRevIsNotLatest,716
           *ScriptStack SS_SET_ELEMENT_DATA
           3:ssSetElementData,dID=715,dDocName=PRESSRELEASE1111
              at sitestudio.SSWCMServiceHandler.checkOutDataFile(Unknown Source)
     
     

 

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