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

The "com.liferay.portlet.include" property is not working as part of @Component annotation when we are registering a portlet

Details

    Description

      Adds the following property to @Component annotation when we are registering a portlet:

      "com.liferay.portlet.include=false"

      After re-deploying the portlet it shouldn't appears on portal, but actually it's still there.

      Steps:

      1. Add one porlet to a page, for example Web Content Display
      2. Add com.liferay.portlet.include=false to the @Component annotation in one portlet, for example Web Content Display
      3. Re-deploy the portlet

      Actual Result:

      You still seeing the portlet on the pages and it is available to add into a page.

      Expected Result:

      You cannot see the portlet on the portal

      Attachments

        Activity

          People

            brian.chan Brian Chan
            eudaldo.alonso Eudaldo Alonso
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 3 weeks ago

              Packages

                Version Package
                7.1.0 Beta 2
                7.1.X
                Master