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

UI does not show saved publish configurarions for portlets data correctly

    Details

      Description

      When saving Publish Template (or maybe export template, I have not checked) and re-open the saved configuration, the checkboxes in the content section's does not show the saved settings.

      steps to reproduce

      1. switch on local staging
      2. go to staged site
      3. click on Menu, Publishing, Staging
      4. Click on the kebab menu on the top-right
      5. Choose publish templates
      6. Click on add
      7. set the content checkboxes and remember the settings
      8. Save
      9. open the saved template

      expected result

      The checkboxes should be pre-seted faccording to the saved configuration

      experienced result

      The checkboxes are not in match with the saved configuration

      hints

      ExportImportConfigurationParameterMapFactoryImpl._replaceParameterMap method replaces the request's parameter names of the checkboxes and nobody restores it, so the UI does not see that the checkboxes were set/unset.
      The replacing is necessary for the changeset, however it is questionable, when we should replace the parameter names. Probably it would be better immediately before publishing and not necessarily before saving.
      Whit this, the UI should not be changed and will work again.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                maria.kispal Mária Kispál (Inactive)
                Reporter:
                peter.borkuti Peter Borkuti (Inactive)
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 10 weeks, 2 days ago

                  Packages

                  Version Package
                  7.1.X
                  Master