After following the product documentation to update the handle of the blog home page,
users find that the Public Blogs page is no longer accessible.
STEPS TO REPRODUCE:
1. Start the wsadmin client.
2. Execute the following commands:
3. Verify you receive this message:
SiteFrontPageWeblogHandle was successfully changed
4. Exit the wsadmin client and login to Connections.
5. Navigate to Blogs.
6. Click on Public Blogs.
Page Not Found error in the UI. The rest of the Blogs UI seems to be unaffected.
In addition, one may find that when editing the Blogs Administration page,
there was a "NullPointerException" error when they tried to save their changes.
When the BLOGS database is initially created, a record is created in the BLOGS.WEBSITE table.
The value for the HANDLE column for this record gets updated when using wsadmin in this way.
However, there is another row in a different table, BLOGS_ROLLER_PROPERTIES, whose name is
site.frontpage.weblog.handle. The corresponding value here does not get updated by wsadmin.
The difference between these two database values is the cause of this problem.
The MBean implement of BlogsConfigService.updateConfig("SiteFrontPageWeblogHandle","..."),
only updates the blog handle of current frontpage blog.
It does not update the data in roller_properties table.
Diagnosing the problem
Examine the two tables as outlined in the BLOGS database and compare the values for these 2 fields.
In the BLOGS.WEBSITE table:
In the BLOGS_ROLLER_PROPERTIES table:
If they do not match, then follow the steps below to resolve the problem.
Resolving the problem
This issue is tracked in the following defect report:
IBM Connections SPR #DAMC956N5U
Brief Description: Brief Description: Page Not Found Error When Accessing Public Blogs After
Using Wsadmin To Updates Blog Home Page Handle.
APAR ID: LO74089
It will be reviewed for inclusion in a future maintenance release of the product.
Until then, customers can resolve the issue using this method:
Use wsadmin commands to change both the blog handle and update front page blog handle.
- BlogsAdminService.renameWeblogHandle("<old_handle>", "<new_handle>")