Troubleshooting: Cannot disable Social Commerce feature after you migrate from a lower Feature Pack to a higher Feature Pack

You migrate your WebSphere Commerce V7.0 system, with Social Commerce enabled, from one Feature Pack level to a later Feature Pack level. After migration, you update Social Commerce to the later Feature Pack level. Then, you attempt to disable the Social Commerce feature, but you encounter an error.

You receive an error similar to the following message in your disablement log file.
BUILD FAILED
      C:\IBM\WCDE_E~1\components\common\xml\disableFeatureForToolkit.xml:59: The following error
      occurred while executing this line:
      C:\IBM\WCDE_E~1\components\common\xml\disableFeatureForToolkit.xml:120:  The
      store-enhancements feature must be at 7.0.5.0  level in order to be  disabled. Your database
      is now at  N/A and the EAR is at 7.0.4.0.
Note: The Feature Pack version numbers in the error message differ depending on your environment. The example message shows the disablement log on a WebSphere Commerce Developer system where social-commerce was initially enabled at the Feature Pack 4 (or 7.0.4.0) version and later updated to the Feature Pack 5 (or 7.0.5.0) version.

Problem

The WebSphere Commerce "social-commerce" feature depends on the WebSphere Commerce V7.0 features "store-enhancements", "management-center", and "foundation", among others. When you migrated from a lower Feature Pack level to the higher Feature Pack level, these three features were not updated. The subsequent attempt to disable the features is blocked because the feature is at a level lower than the currently installed Feature Pack.

In the previous example, the WebSphere Commerce Developer system has Feature Pack 5 installed, but the store-enhancement feature is at the Feature Pack 4 level. The disablement scripts do not attempt to disable a feature that is at a lower level because there is insufficient information in the newer Feature Pack to properly disable features from earlier Feature Packs.

Solution

To resolve the problem, complete the following steps:
  1. Enable the store-enhancements feature to update the feature to the installed Feature Pack version. When you enable stare-enhancements, the management-center, and foundation features are also updated and enabled.
  2. After the features are updated to the installed Feature Pack version, proceed to disable all necessary features, including social-commerce.