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

Web content template's "cacheable" option gets overriden and unchecked when importing template through the Resource Importer Web Plugin

    Details

      Description

      Description:

      Customer reported that when they use resource importer plugin to import their web content template resource each time the "Cacheable" option will get unchecked. If they manually check the option and save it, the next importing process will override the check and make it uncheck again.

      Reproduction steps:

      1. Boot up Liferay that has resource-importer-web plugin
      2. Drop attached "sample-templates-importer-portlet-6.2.10.1.war" into "deploy" folder.
      3. Navigate to (the IOP site) the site's content--> Web Content --> Manage Template.
      Observed Behavior: The template's "cacheable" option is no checked.
      4. Open one template, and check "cacheable" option and then save the template.
      5. Drop attached "sample-templates-importer-portlet-6.2.10.1.war" again into deploy folder.
      6. Navigate to the template you changed at step 4.
      Observed Behavior: The template "cacehable" option is unchecked.

      Master, ee-7.0.x, currently I can't reproduce it(needing to create a sample-templates-importer-portlet.war based on master )but from the code, it can be reproduced

      ee-6.2.x, reproduced

        Attachments

          Activity

            People

            • Assignee:
              lu.liu Lu Liu
              Reporter:
              david.zhang David Zhang (Inactive)
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 11 weeks, 6 days ago

                Packages

                Version Package
                6.2.X EE
                7.0.0 DXP FP1
                7.0.2 CE GA3
                7.0.0 DXP SP1
                7.0.3 CE GA4
                7.1.X
                Master