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

Underscore character should be deleted in DDM Field Names during upgrade

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.0.X, Master
    • Fix Version/s: None
    • Component/s: Dynamic Data Mapping
    • Labels:
    • Fix Priority:
      3

      Description

      Since LPS-52567 underscore "_" is not a valid DDM Field Name character. So it must be deleted from the field names during the upgrade as other punctuation characters.

       

      Steps to Reproduce:

      1. Create a new structure named "test" with a text field named "test_text"
      2. Create a new template related to the previous structure with the following code:
        <h1>${text_test.getData()}</h1>
      1. Create a web content based on the previous structure and fill the text field.
      2. Do an upgrade to 7.0 or master.

       

      Actual Results:

      If you check in DDMTemplate, DDMStructure or JournalArticle the field name remains as text_test

       

      Expected Results:

      If you check in DDMTemplate, DDMStructure or JournalArticle the field name should appear without the underscore.

        Attachments

          Activity

            People

            • Assignee:
              mariano.alvaro Mariano Álvaro
              Reporter:
              mariano.alvaro Mariano Álvaro
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Packages

                Version Package