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

Cannot have two "Paragraphs" in a WebForm when saving data to database

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Inactive
    • Affects Version/s: 5.2.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Liferay 5.2.3 Tomcat 6.0 bundle with PostgreSQL 8.4

      Description

      When selecting "Paragraph" I can enter a text that is displayed to the user (e.g. as a label) and my understanding is that this does not "create" a column when I store the WebForm data in the database.

      Nevertheless the portlet seems to create a column called "Paragraph" in expandocolumn (which itself does not make any sense as that column will never store data)

      But when I use two paragraphs saving the web form data fails because the portlet then tries to create two (columns called "paragraph".
      The exception that is thrown is com.liferay.portlet.expando.DuplicateColumnNameException.

      When I remove one of the "Paragraphs" the data can be saved

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 21 weeks, 1 day ago

                Packages

                Version Package