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

Journal Articles: radio button field values are lost after upgrading to 7.1

    Details

      Description

      Steps to reproduce it:

      1. Startup a 6.2 version
      2. Create a Journal Strucuture with a radio button field
      3. Create a Template for that Structure
      4. Create a web content using that structure and publish it
      5. Upgrade to master/7.1
      6. Edit the web content in master/7.1

      Results:
      No value is selected for the radio button field.

      Expected results:
      The value selected in 6.2 is also set in 7.1

      Technical notes:
      Actually the values are still in the journal article content but the format is not valid for 7.1. In 6.2 we set the value with double "[" (I guess by mistake):

      	<dynamic-element name="Radio2156" type="radio" index-type="keyword" index="0" instance-id="rbhz">
      		<dynamic-content language-id="en_US"><![CDATA[["value 1"]]]></dynamic-content>
      	</dynamic-element>
      

      Anyway the UI reads it properly. However Liferay 7.1 only admits one single "[":

      	<dynamic-element name="Radio2156" type="radio" index-type="keyword" index="0" instance-id="rbhz">
      		<dynamic-content language-id="en_US"><![CDATA["value 1"]]></dynamic-content>
      	</dynamic-element>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              alberto.chaparro Alberto Chaparro
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 16 weeks, 3 days ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.10 DXP FP1
                  7.2.X
                  7.2.1 CE GA2
                  7.3.10 DXP GA1
                  Master