PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-47611

ThemeDisplayTestUtil is not setting up some basic stuff that is being used deeply in code

    Details

    • Fix Priority:
      4
    • Similar Issues:
      Show 4 results 

      Description

      Every test that uses a serviceContext, and then calls a service with deeply in its code uses the theme display on it, will need some basic setup that hasn't been defined yet.

      Those tests will end with a NullPointerException when that object inside themeDisplay hasn't been set, i.e. BlogsEntryAssetSearchTest.

        Issue Links

          Activity

          Hide
          Julio Camarero added a comment -

          Just started reviewing :)

          Sent from GH.

          Show
          Julio Camarero added a comment - Just started reviewing :) Sent from GH .
          Hide
          Brian Chan added a comment -
          Show
          Brian Chan added a comment - Rolled back in https://github.com/brianchandotcom/liferay-portal/pull/19284

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 7 weeks ago

                Development

                  Structure Helper Panel