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

SXPBlueprintUtilTest.testToSXPBlueprint fails with UnrecognizedPropertyException

    Description

    Testray
    Jenkins

    com.liferay.search.experiences.rest.dto.v1_0.util.SXPBlueprintUtilTest > testToSXPBlueprint FAILED
         [exec]     java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "facet" (class com.liferay.search.experiences.rest.dto.v1_0.Configuration), not marked as ignorable (8 known properties: "advanced", "aggregationConfiguration", "general", "parameters", "xClassName", "queryConfiguration", "highlight", "sortConfiguration"])
         [exec]      at [Source: (String)"{
         [exec]     	"configuration": {
         [exec]     		"advanced": {
         [exec]     			"excludes": [
         [exec]     			],
         [exec]     			"includes": [
         [exec]     				"articleId",
         [exec]     				"content",
         [exec]     				"content${context.language_id}",
         [exec]     				"createDate",
         [exec]     				"description",
         [exec]     				"description{context.language_id}",
         [exec]     				"entryClassName",
         [exec]     				"entryClassPK",
         [exec]     				"fullName",
         [exec]     				"localized_title${context.language_id}",
         [exec]     				"name",
         [exec]     				"name{context.language_id}",
         [exec]     				"title${context.language_id}",
         [exec]     				"modified"
         [exec]     			]
         [exec]     		},
         [exec]     		"aggregationConfiguration": {
         [exec]     		},
         [exec]     		"facet": {
         [exec]     		},
         [exec]     		"general": "[truncated 10098 chars]; line: 25, column: 13] (through reference chain: com.liferay.search.experiences.rest.dto.v1_0.SXPBlueprint["configuration"]->com.liferay.search.experiences.rest.dto.v1_0.Configuration["facet"])
         [exec]         at com.liferay.portal.vulcan.util.ObjectMapperUtil.unsafeReadValue(ObjectMapperUtil.java:53)
         [exec]         at com.liferay.search.experiences.rest.dto.v1_0.SXPBlueprint.unsafeToDTO(SXPBlueprint.java:61)
         [exec]         at com.liferay.search.experiences.rest.dto.v1_0.util.SXPBlueprintUtil.toSXPBlueprint(SXPBlueprintUtil.java:27)
    

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            brian.lee Brian Lee
            Reporter:
            kevin.valencia Kevin Valencia
            Participants of an Issue:
            Recent user:
            Brian Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              24 weeks, 2 days ago
              Development End Date:

                Packages

                Version Package
                7.4.3.5 CE GA5
                7.4.13 DXP U1
                Master