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

Basic Web Content DDMStructure missing on Oracle and DB2 databases

    Details

      Description

      Steps to Reproduce:

      1. Start portal
      2. Go to Content & Data > Web Content
      3. Click "Add" button

      Expected Result:
      "Basic Web Content" structure is present

      Actual Result:
      "Basic Web Content" structure is missing

      Fails integration tests like JournalArticleMultiLanguageSearchGroupIdsTest on DB2 11.2 or Oracle 12

       com.liferay.journal.search.test.JournalArticleMultiLanguageSearchGroupIdsTest > testSearchEverything FAILED
           [exec]     java.lang.RuntimeException: com.liferay.dynamic.data.mapping.exception.NoSuchStructureException: No DDMStructure exists with the structure key BASIC-WEB-CONTENT in the ancestor groups
           [exec]         at com.liferay.journal.test.util.search.JournalArticleSearchFixture.addArticle(JournalArticleSearchFixture.java:120)
           [exec]         at com.liferay.journal.test.util.search.JournalArticleSearchFixture.addArticle(JournalArticleSearchFixture.java:72)
           [exec]         at com.liferay.journal.test.util.search.JournalArticleSearchFixture.addArticle(JournalArticleSearchFixture.java:46)
           [exec]         at com.liferay.journal.search.test.JournalArticleMultiLanguageSearchGroupIdsTest.addJapanArticle(JournalArticleMultiLanguageSearchGroupIdsTest.java:202)
           [exec]         at com.liferay.journal.search.test.JournalArticleMultiLanguageSearchGroupIdsTest.testSearchEverything(JournalArticleMultiLanguageSearchGroupIdsTest.java:108)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:206)
           [exec]         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]         at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec]         Caused by:
           [exec]         com.liferay.dynamic.data.mapping.exception.NoSuchStructureException: No DDMStructure exists with the structure key BASIC-WEB-CONTENT in the ancestor groups
           [exec]             at com.liferay.dynamic.data.mapping.service.impl.DDMStructureLocalServiceImpl.getStructure(DDMStructureLocalServiceImpl.java:962)
      

      Full log https://testray.liferay.com/reports/production/logs/test-1-1/1561014164034/test-portal-acceptance-upstream(7.2.x)/316/modules-integration-oracle122-jdk8/15/jenkins-console.txt.gz

      Update also affects Sybase.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                victor.ware Victor Ware
                Reporter:
                victor.ware Victor Ware
                Participants of an Issue:
                Recent user:
                Yunlin "Steven" Sun
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 weeks, 5 days ago

                  Packages

                  Version Package
                  7.2.X
                  Master