Email Notifications and Worklist Tasks for Membership and Invitations are Not Formatted Correctly: Looks Cryptic, Contains Expression Language and Invalid Links.

(Doc ID 1558554.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

In standard WebCenter Spaces 11.1.1.6.5 AND in WebCenter Spaces on Fusion Release 6 environment, the email notifications and worklist tasks with regards to user membership and invitations are not formatted correctly.

The email and the worklist tasks contains cryptic message or more appropriately expression language which are not resolved correctly.

A sample message look like this:

 

The view source of the email shows:

<br><font style="font-family:Tahoma;font-size:11px"><img src="#{WCAppContext.applicationURL}#{WCPrepareImageURL[spaceContext.space[WCAppContext.currentScope.name].GSMetadata.logoURI]['LOGO75']}" id="imgLogo"/><br/><br/><p style="line-height: 115%;"><b><span style="font-family: Arial,sans-serif; color: rgb(0, 95, 136); font-size: 18px"> #{spaceContext.currentSpace.GSMetadata.displayName} </span></b></p><i> #{spaceContext.currentSpace.GSMetadata.description}</i><br/>...................................................................................................................................................<br/><blockquote><p><b>Hi,<br/>You are added as member to Space 04March_TestSpace05. Please access the space for collaborating with other users.</b></p></blockquote><br></font>

 
The notification shows the following problems:


 - broken image: because it has #{WCAppContext.applicationURL}#{WCPrepareImageURL[spaceContext.space[WCAppContext.currentScope.name].GSMetadata.logoURI]['LOGO75']

 - #{spaceContext.currentSpace.GSMetadata.displayName} instead of display name

 - The "a href" in the space name contains #{spaceContext.currentSpace.URL}. Space hyperlink to group space is not correct.


The issue may occur in the follows scenario as well:

1. Space membership assigned to new member using Add People, notification/email to user not correct.
2. Space membership revoked from member, notification/email to user not correct.
3. Space role changed for Member, notification/email to user not correct.
4. Space invitation accepted by user, notification/email to moderator not correct.


The steps to show the problem in very high level are:

1. Setup Spaces / SOA / Worklist as per documentation - (Email not necessary)
2. Login as user weblogic
 a. Create a Space and and a page (say worklistpage)
 b. On page: worklistpage, add worklist taskflow so the notifications can be viewed.
 c. On Space membership: ADD People : e,g, testuser1 (NOT INVITE as this seems to work ok)
 
3. Login as testuser1
 a. On Home Space , Add a Page: page1 and on that page1 add add worklist taskflow so the notifications can be viewed.
 b. Check the notification in the worklist , click on DETAIL.

4. Pop-up window displays which shows the notification containing expression Language (EL). The same goes in email (if configured) as well.

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