WebCenter Spaces Search does not Return Right Blog Address (Doc ID 1081310.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter - Version: 11.1.1.1.0 to 11.1.1.2.0
Information in this document applies to any platform.

Symptoms


Webcenter Spaces search does not give right blog URL

If you create a Blog page and define the source for the Blog, the URL that
the search returns in the results list is incorrect.

Clicking on the Blog link from within the search results:

Page Not Found...
The page you requested is not found.



Steps to reproduce the problem
======================
1. Login onto the WebCenter Spaces

2. Within the 'weblogic' Personal Space create a page:
   Page Actions -> Create Page
   * Page Name : PSPageBug9482301
   * Scheme : Blank
   * Scheme Background Color : no selection
   * Style : Blog
   -> Hit the "Create" button
  
3. Edit Page: PSPageBug9482301 --> 2nd pencil on the upper right corner
   * In the Component Properties:"Web Page" window -> "Display Options" tab
   * Change the "Source" from :
     #{param.blogid==null?pageDocBean.blogDomainRoot : pageDocBean.blogRoot}
     #{param.blogid==null?'?scope=TESTING_SPACE__PageBug9482301' : '?id='}
     #{param.blogid==null?'' : param.blogid}&inline=1&theme=
     #{adfFacesContext.skinFamily}&wcURL=#{pageDocBean.pathRoot}
     /webcenter/faces#{pageDocBean.pagePath}%3fblogid=
     ... to:
 
    http://<host>:<port>/owc_wiki/blog/list.jz?inline=1&name=
     #{facesContext.externalContext.remoteUser}

   * "Apply" and "OK" buttons
   * "Save" and "Close" edit mode of the page, which will returned back to
     blog page

4. Create a blog entry - name it within the title something like: test1
   -> Click the "Add New Entry" link and add some title & body text to it
      and "Save" the post.
     
5. Search in default search field (top right corner) for: test1 + [ENTER]
   -> The blog is found - but clicking the blog link it gives:
      -> 'Page not found' when trying to access the blog from search results
         -------------------------------------------------------------------
         Copy Link Location (from the browser functionality):
         URL = http://<host>:<port>/webcenter/faces/oracle
               /webcenter/page/scopedMD
               /s8bba98ff_4cbb_40b8_beee_296c916a23ed/user
               /U4D697D50FD7A11DEBFD33B754E6EDA00/null1

         ------------------------------------------------------------------

         URL Displayed:
         http://<host>:<port>/webcenter/faces/oracle
         /webcenter/page/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed
         /user/U4D697D50FD7A11DEBFD33B754E6EDA00/null1?
         _adf.ctrl-state=m6sq1tii2_361


         Error:
        
Page Not Found...
The page you requested is not found.
Click here to go to home
Click here to go to list of accessible pages


   -> Click in the "More" button and over the blog link it gives a different
      but quite similar behavior:
      -> 'Page not found' when trying to access the blog from search results
         -------------------------------------------------------------------
         Copy Link Location (from the browser functionality):
         URL = http://<host>:<port>/webcenter/faces/oracle
               /webcenter/webcenterapp/view/pages/shared/null1

         -------------------------------------------------------------------

         URL Displayed:
         http://<host>:<port>/webcenter/faces/oracle/webcenter
         /webcenterapp/view/pages/shared/null1?_adf.ctrl-state=m6sq1tii2_502


         Error:
Page Not Found...
The page you requested is not found.
Click here to go to home
Click here to go to list of accessible pages


+ Similar misbehavior is seen:
  -> Within the Group Spaces;
  -> There is no need to involve the Business Role Page (it reproduces
     without it);
  -> Changing the SOURCE from
     (...)=#{facesContext.externalContext.remoteUser}

     to
     (...)=#{communityContext.communityName}

     gets the same issue;

+ Similar misbehavior is NOT seen:
  -> If we use the default SOURCE from the blog page (remember that as if
     we do change the SOURCE a new blog entry needs to be created as the
     SOURCE will change, of course!);

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