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

Scructure Field 'Name' must not contain '.', '-'

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE GA1, 6.2.10 EE GA1, 7.0.0 M3
    • Fix Version/s: 7.0.0 M1
    • Component/s: ~[Archived] WCM
    • Labels:
      None
    • Story Points:
      2
    • Fix Priority:
      5

      Description

      Recreate Problem:

      1. Create a structure with a Text-Field with the name e.g. 'Artikel-Text'.
      2. Save
      3. Create a new webcontent for this structure
      4. Save -> it won't be saved (only in FF and Chrome, IE should work) without any error or success message.

      Cause:
      The cause is that Liferay creates a JS function with the field name in the JS function name and when this contains a '.' or a '-' the JS syntax is broken.

      For detailled information on the cause / possible solutions see here.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              manuel.manhart Manuel Manhart
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 38 weeks ago

                  Packages

                  Version Package
                  7.0.0 M1