Portlets using request.getPreferences do not Work after Upgrading to WebCenter PS3 or Later

(Doc ID 1338073.1)

Last updated on JULY 18, 2017

Applies to:

Oracle WebCenter Portal - Version to [Release 11g]
Information in this document applies to any platform.


Portlets using request.getPreferences do not work after upgrading to WebCenter PS3 or later.  The following code works fine before the upgrade and it will correctly set the value:

request.getPreferences().setValue("setting1", "test");

However after upgrade the above code no longer works.


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

  1. Open your producer application that has calls to request.getPreferences in JDeveloper or later to upgrade it from a previous release.

  2. Deploy the producer to a WebCenter domain in the WC_Portlet managed server.

  3. Add the Portlet to a page in WebCenter Spaces or a custom WebCenter application.
    Here you will find your Portlet no longer works.


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