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

CustomSQL doesn't refresh sqlPool after bundle update

Details

    Description

      Steps to reproduce:

      1. Place Blogs Aggregator on a page
      2. Deploy blogs-service using `gradlew deploy`
      3. Verify portlet renders correctly
      4. Change  modules/apps/blogs/blogs-service/src/main/resources/custom-sql/default.xml, add a SQL typo into com.liferay.blogs.service.persistence.BlogsEntryFinder.findByGroupIds finder, for example:

      	<sql id="com.liferay.blogs.service.persistence.BlogsEntryFinder.findByGroupIds">
      		<![CDATA[
      XXXXX			SELECT
      				{BlogsEntry.*}
      
      

      5. Deploy blogs-service using `gradlew deploy` and wait for it to deploy
      6. Render the portlet again

      Expected result: Portlet doesn't render and there is an error in logs
      Actual result: No change

      Attachments

        Activity

          People

            brian.chan Brian Chan
            tomas.polesovsky Tomáš Polešovský
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 43 weeks, 5 days ago

              Packages

                Version Package
                7.1.0 Beta 3
                7.1.X
                Master