Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-75494

Blacklists fail if a list value has trailing spaces

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.0.0 DXP SP6, 7.0.4 CE GA5, 7.0.0 DXP FP34, 7.0.X, Master
    • Fix Version/s: None
    • Labels:
    • Story Points:
      1
    • Fix Priority:
      3

      Description

      com.liferay.portal.bundle.blacklist.internal.BundleBlacklistConfiguration.cfg file's LPKGs, WABs, WARs, JARs, modules/bundles are not processed if the blacklistBundleSymbolicNames property's values have any trailing spaces.

      Steps:

      1. Create a file com.liferay.portal.bundle.blacklist.internal.BundleBlacklistConfiguration.cfg
      2. In the .cfg file, add the following content:

        blacklistBundleSymbolicNames=Liferay Sharepoint Connector,\
        Liferay Sharepoint Connector-sharepoint-hook-wrapper,\
        sharepoint-hook,\
        documentum-hook,\
        Liferay Marketplace

      3. Add a space character after the first line.
      4. Copy the .cfg file to LIFERAY_HOME/osgi/configs/

      Expected result:
      The bundles listed in the .cfg file are stopped and uninstalled. Liferay Marketplace is uninstalled.

      Actual results:
      None of the bundles listed in the .cfg file are stopped or uninstalled. Liferay Marketplace is active.

        Attachments

          Activity

            People

            Assignee:
            seiphon.wang Seiphon Wang
            Reporter:
            james.hinkey James Hinkey
            Participants of an Issue:
            Recent user:
            Michael Saechang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 9 weeks, 1 day ago

                Packages

                Version Package