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

Liferay allows Expando Fields with a . in the name but throws an exception when attempting to index them

    Details

      Description

      Steps to reproduce

      1. Startup the portal and login as omni-admin
      2. Create a Web Content Article Custom Field with the name 'journal.expando' with type: Text Field - Indexed

      3. Create a Web Content Article and populate the Custom Field and Save.

      Expected result: content is saved and indexed without errors
      Actual result: The following exception occurs:

      ERROR [http-nio-8080-exec-4][ExpandoBridgeIndexerImpl:303] Indexing journal.expando
      java.lang.IllegalArgumentException: Name must not contain .: expando_custom_fields_journal.expando
      

      Backport/release info:
       Requires full reindex
       7.0.x backport requires a unique fix, because it comes with Elasticsearch 2.4 by default, which doesn't support dots in field names.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bryan.engler Bryan Engler
                Reporter:
                istvan.sajtos Istvan Sajtos
                Participants of an Issue:
                Recent user:
                Istvan Sajtos
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  26 weeks, 4 days ago

                  Packages

                  Version Package