Issue 27538 issue with widgets #111
10880 passed, 8 failed and 51 skipped
Annotations
github-actions / Test Report
com.dotcms.contenttype.test.ContentResourceTest ► testGetContentShouldReturnUrlOverridden
Failed test found in:
/tmp/build-reports-test/build-reports-test-IT Tests MainSuite 1b/dotcms-integration/target/failsafe-reports/TEST-com.dotcms.contenttype.test.ContentResourceTest.xml
Error:
java.lang.RuntimeException: com.dotmarketing.portlets.contentlet.business.DotContentletValidationException: Contentlet with ID 'Unknown/New' ['Test Contentlet'] has invalid/missing field(s). - Fields: [REQUIRED]: Code (code), Widget Title (widgetTitle)Fields: [REQUIRED]: Code (code), Widget Title (widgetTitle)
Raw output
java.lang.RuntimeException: com.dotmarketing.portlets.contentlet.business.DotContentletValidationException: Contentlet with ID 'Unknown/New' ['Test Contentlet'] has invalid/missing field(s). - Fields: [REQUIRED]: Code (code), Widget Title (widgetTitle)Fields: [REQUIRED]: Code (code), Widget Title (widgetTitle)
at com.dotcms.datagen.ContentletDataGen.checkin(ContentletDataGen.java:324)
at com.dotcms.datagen.ContentletDataGen.persist(ContentletDataGen.java:227)
at com.dotcms.datagen.ContentletDataGen.nextPersisted(ContentletDataGen.java:213)
at com.dotcms.contenttype.test.ContentResourceTest.testGetContentShouldReturnUrlOverridden(ContentResourceTest.java:1629)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.dotcms.junit.CustomDataProviderRunner.runChild(CustomDataProviderRunner.java:63)
at com.dotcms.junit.CustomDataProviderRunner.runChild(CustomDataProviderRunner.java:22)
at com.dotcms.junit.MainBaseSuite$DotRunner.run(MainBaseSuite.java:71)
Caused by: com.dotmarketing.portlets.contentlet.business.DotContentletValidationException: Contentlet with ID 'Unknown/New' ['Test Contentlet'] has invalid/missing field(s). - Fields: [REQUIRED]: Code (code), Widget Title (widgetTitle)Fields: [REQUIRED]: Code (code), Widget Title (widgetTitle)
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.validateContentlet(ESContentletAPIImpl.java:7418)
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.validateContentlet(ESContentletAPIImpl.java:8082)
at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.validateContentlet(ContentletAPIInterceptor.java:2271)
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.internalCheckin(ESContentletAPIImpl.java:5415)
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.lambda$checkin$62(ESContentletAPIImpl.java:5025)
at com.dotcms.concurrent.lock.StripedLockImpl.tryLock(StripedLockImpl.java:100)
at com.dotcms.concurrent.lock.StripedLockImpl.tryLock(StripedLockImpl.java:55)
at com.dotcms.concurrent.lock.IdentifierStripedLock.tryLock(IdentifierStripedLock.java:16)
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:5024)
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:9877)
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:4866)
at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.checkin(ContentletAPIInterceptor.java:281)
at com.dotcms.datagen.ContentletDataGen.checkin(ContentletDataGen.java:321)
... 7 more
github-actions / Test Report
Page API / Checking Common Page API Properties / GivenRequestByURI_ShouldReturnExpectedPage ► GraphQl ► 'page' element includes all properties
Failed test found in:
/tmp/build-reports-test/build-reports-test-Postman graphql/dotcms-postman/target/failsafe-reports/TEST-GraphQLTests.xml
Error:
AssertionFailure: expected 'costa-rica' to equal '/destinations/costa-rica'
Raw output
Failed 1 times.
Collection JSON ID: 5f91bf99-0010-4a9d-bb0d-8e0e4c53981f.
Collection name: GraphQL.
Request name: Page API / Checking Common Page API Properties / GivenRequestByURI_ShouldReturnExpectedPage.
Test description: 'page' element includes all properties.
Error message: expected 'costa-rica' to equal '/destinations/costa-rica'.
Stacktrace: AssertionError: expected 'costa-rica' to equal '/destinations/costa-rica'
at Object.eval sandbox-script.js:2:19).
github-actions / Test Report
Page API / Checking Common Page API Properties / RenderDestinationsCostaRicaPage ► GraphQl ► 'page' element includes all properties
Failed test found in:
/tmp/build-reports-test/build-reports-test-Postman graphql/dotcms-postman/target/failsafe-reports/TEST-GraphQLTests.xml
Error:
AssertionFailure: expected 'costa-rica' to equal '/destinations/costa-rica'
Raw output
Failed 1 times.
Collection JSON ID: 5f91bf99-0010-4a9d-bb0d-8e0e4c53981f.
Collection name: GraphQL.
Request name: Page API / Checking Common Page API Properties / RenderDestinationsCostaRicaPage.
Test description: 'page' element includes all properties.
Error message: expected 'costa-rica' to equal '/destinations/costa-rica'.
Stacktrace: AssertionError: expected 'costa-rica' to equal '/destinations/costa-rica'
at Object.eval sandbox-script.js:4:18).
github-actions / Test Report
Page API / GivenRequestByURI_givenASite_shouldReturnExpectedPage ► GraphQl ► Expected page fetched
Failed test found in:
/tmp/build-reports-test/build-reports-test-Postman graphql/dotcms-postman/target/failsafe-reports/TEST-GraphQLTests.xml
Error:
AssertionFailure: FAILED:[jsonData.data.page.url]: expected 'copy-page' to equal '/copy-page'
Raw output
Failed 1 times.
Collection JSON ID: 5f91bf99-0010-4a9d-bb0d-8e0e4c53981f.
Collection name: GraphQL.
Request name: Page API / GivenRequestByURI_givenASite_shouldReturnExpectedPage.
Test description: Expected page fetched.
Error message: FAILED:[jsonData.data.page.url]: expected 'copy-page' to equal '/copy-page'.
Stacktrace: AssertionError: FAILED:[jsonData.data.page.url]: expected 'copy-page' to equal '/copy-page'
at Object.eval sandbox-script.js:2:41).
github-actions / Test Report
JSON [api/v1/page/json] / Using Actual Page URIs / Get Valid HTML Page Metadata ► PageApiApiV1Page ► 'page' element includes all properties
Failed test found in:
/tmp/build-reports-test/build-reports-test-Postman page/dotcms-postman/target/failsafe-reports/TEST-PagesResourceTests.xml
Error:
AssertionFailure: expected 'costa-rica' to equal '/destinations/costa-rica'
Raw output
Failed 1 times.
Collection JSON ID: 7a488c87-858e-4edd-8722-c38e4071afdf.
Collection name: Page API - [api/v1/page].
Request name: JSON [api/v1/page/json] / Using Actual Page URIs / Get Valid HTML Page Metadata.
Test description: 'page' element includes all properties.
Error message: expected 'costa-rica' to equal '/destinations/costa-rica'.
Stacktrace: AssertionError: expected 'costa-rica' to equal '/destinations/costa-rica'
at Object.eval sandbox-script.js:5:7).
github-actions / Test Report
JSON [api/v1/page/json] / Using Vanity URLs / Get HTML Page Metadata - Forward ► PageApiApiV1Page ► The 'page' element includes all the expected properties
Failed test found in:
/tmp/build-reports-test/build-reports-test-Postman page/dotcms-postman/target/failsafe-reports/TEST-PagesResourceTests.xml
Error:
AssertionFailure: expected 'costa-rica' to equal '/destinations/costa-rica'
Raw output
Failed 1 times.
Collection JSON ID: 7a488c87-858e-4edd-8722-c38e4071afdf.
Collection name: Page API - [api/v1/page].
Request name: JSON [api/v1/page/json] / Using Vanity URLs / Get HTML Page Metadata - Forward.
Test description: The 'page' element includes all the expected properties.
Error message: expected 'costa-rica' to equal '/destinations/costa-rica'.
Stacktrace: AssertionError: expected 'costa-rica' to equal '/destinations/costa-rica'
at Object.eval sandbox-script.js:2:14).
github-actions / Test Report
Render [api/v1/page/render] / Using Actual Page URIs / Get Valid HTML Page Metadata ► PageApiApiV1Page ► 'page' element includes all properties
Failed test found in:
/tmp/build-reports-test/build-reports-test-Postman page/dotcms-postman/target/failsafe-reports/TEST-PagesResourceTests.xml
Error:
AssertionFailure: expected 'costa-rica' to equal '/destinations/costa-rica'
Raw output
Failed 1 times.
Collection JSON ID: 7a488c87-858e-4edd-8722-c38e4071afdf.
Collection name: Page API - [api/v1/page].
Request name: Render [api/v1/page/render] / Using Actual Page URIs / Get Valid HTML Page Metadata.
Test description: 'page' element includes all properties.
Error message: expected 'costa-rica' to equal '/destinations/costa-rica'.
Stacktrace: AssertionError: expected 'costa-rica' to equal '/destinations/costa-rica'
at Object.eval sandbox-script.js:4:20).
github-actions / Test Report
Render [api/v1/page/render] / Using Vanity URLs / Get HTML Page Metadata - Forward ► PageApiApiV1Page ► The 'page' element includes all the expected properties
Failed test found in:
/tmp/build-reports-test/build-reports-test-Postman page/dotcms-postman/target/failsafe-reports/TEST-PagesResourceTests.xml
Error:
AssertionFailure: expected 'costa-rica' to equal '/destinations/costa-rica'
Raw output
Failed 1 times.
Collection JSON ID: 7a488c87-858e-4edd-8722-c38e4071afdf.
Collection name: Page API - [api/v1/page].
Request name: Render [api/v1/page/render] / Using Vanity URLs / Get HTML Page Metadata - Forward.
Test description: The 'page' element includes all the expected properties.
Error message: expected 'costa-rica' to equal '/destinations/costa-rica'.
Stacktrace: AssertionError: expected 'costa-rica' to equal '/destinations/costa-rica'
at Object.eval sandbox-script.js:3:28).