IV27768: CMVC 223127 - PREVENT CMSMALLFILE AND CMLARGEFILE ENTRIES FROM BEING INCORRECTLY DELETED.
Direct links to fixes
Closed as program error.
When customers use multiple task groups in a workspace, a task group that is cancelled or approved may affect managed files in other task groups within that same workspace. Approving a task group will approve the file contents in CMSMALLFILE OR CMLARGEFILE in all task groups within the same workspace and thus allow them to be visible in the approved content before those task groups are actually approved. Cancelling a task group will delete the file contents in CMSMALLFILE OR CMLARGEFILE in all task groups within that workspace causing the file contents to be missing when referenced. For missing file contents, an error similar to the following may appear in the logs: ScheduledContentManagedFileEarUpdate fails with error message com.ibm.commerce.filepublish.util.ContentManagedFileHandlerImpl addManagedFilesToUpdateList CMN0411E: The following finder exception has occurred during processing: "javax.ejb.ObjectNotFoundException: fileId=24654 contentWorkspace=IBM_WC_BASE ".javax.ejb.ObjectNotFoundException: fileId=24654 contentWorkspace=IBM_WC_BASE at java.lang.Throwable.<init>(Throwable.java:67) at javax.ejb.FinderException.<init>(FinderException.java:57) at javax.ejb.ObjectNotFoundException.<init>(ObjectNotFoundException .java:59) at com.ibm.ejs.container.EJSHome.activateBean_Common(EJSHome.java:1 987) at com.ibm.ejs.container.EJSHome.activateBean_Local(EJSHome.java:19 54) at com.ibm.commerce.context.content.resources.file.objects.EJSCMPMa nagedSmallFileHomeBean_1c7d263d.findByPrimaryKey_Local(EJSCMPMan agedSmallFileHomeBean_1c7d263d.java:19) at com.ibm.commerce.context.content.resources.file.objects.EJSLocal CMPManagedSmallFileHome_1c7d263d.findByPrimaryKey(EJSLocalCMPMan agedSmallFileHome_1c7d263d.java:70) at com.ibm.commerce.context.content.resources.file.objimpl.ManagedF ileBeanBase.getFile(ManagedFileBeanBase.java:415)
To avoid loss of file contents do not cancel any task groups in the workspace until the approval of other task groups (with the uploaded files) are performed first.
USERS AFFECTED: Clients who have multiple task groups in a workspace and are using file upload. PROBLEM ABSTRACT: When a task group is approved or cancelled in a workspace, it approves or deletes the CMSMALLFILE and CMLARGEFILE entries for all task groups in the same workspace. BUSINESS IMPACT: For a cancelled task group, files will not be uploaded, and database cleanup will have to be performed for CMFILE entries that were supposed to correlate to the missing files. RECOMMENDATION:
Updated the task-group approval and cancel logic to be limited to the current task group when processeing CMSMALLFILE and CMLARGEFILE entries. ------------------------------------------------------------- The latest available maintenance information can be obtained from the Recommended Fixes for WebSphere Commerce technote: http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
Reported component name
WC COM PROF ED
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
WC COM PROF ED
Fixed component ID
Applicable component levels
Translate this page: