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

Changing a Web Content article's template removes some of its categories

    Details

      Description

      Description:
      Changing a Web Content article's template is removing some, but not all, of that article's categories. Tags also have similar issues.

      Steps to Reproduce:
      1. Create a Vocabulary, TestVocab
      2. In that vocabulary, create 3 categories: Cat1, Cat2, Cat3
      3. Create a Web Content template, WCTemplate
      4. For the code, just use ${journalContent}
      5. Associate it with the structure Basic Web Content
      6. From Content & Data > Web Content > Web Content, click + and choose Basic Web Content
      7. Title it ContentTest and put any text in for the content
      8. Under Metadata > TestVocab, select Cat1 and Cat 3 then click Add
      9. Verify Cat1 and Cat3 are still showing in the Metadata section
      10. Scroll up to Default Template and choose Select
      11. Choose WCTemplate and click OK to “Editing the current template deletes all unsaved content”

      Expected:
      All the fields are as they were prior to changing the template.

      Actual:
      All the fields are as they were prior to changing the template except, TestVocab. Only Cat1 is still displaying there. Cat3 was removed.

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            mai.pham Mai Pham (Inactive)
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Engineering Assignee:
            Mai Pham (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 7 weeks, 6 days ago

                Packages

                Version Package
                7.2.10 DXP FP8
                7.2.10.3 DXP SP3
                7.2.X
                7.3.4 CE GA5
                7.3.10 DXP GA1
                Master